projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
graph: tighten x-axis tooltip hit
[fio.git]
/
graph.c
diff --git
a/graph.c
b/graph.c
index 3f2ee6aff2d6d35f5f505a0ef21c8c3bbb82969a..7dbfd357bde0b0296501897a3096df8a0a6c9799 100644
(file)
--- a/
graph.c
+++ b/
graph.c
@@
-842,7
+842,7
@@
static int xy_match(struct xyvalue *xy, int x, int y)
int xdiff = abs(xy->gx - x);
int ydiff = abs(xy->gy - y);
- return xdiff <=
2
0 && ydiff <= 10;
+ return xdiff <=
1
0 && ydiff <= 10;
}
const char *graph_find_tooltip(struct graph *g, int x, int y)