summaryrefslogtreecommitdiff
path: root/graph.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2012-03-15 15:37:36 +0100
committerJens Axboe <axboe@kernel.dk>2012-03-15 15:37:36 +0100
commitef4ad58a0ebcfe44611b787ba18503f1c6db9247 (patch)
tree278b4c538813e84c99a9f658923b267e1d90fa18 /graph.c
parent0ed83bce9e699e9730e2783c9763ba976ee8bf55 (diff)
downloadfio-ef4ad58a0ebcfe44611b787ba18503f1c6db9247.tar.gz
fio-ef4ad58a0ebcfe44611b787ba18503f1c6db9247.tar.bz2
graph: tighten x-axis tooltip hit
Make it 10, like the Y-axis. Seems to work well in practice. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'graph.c')
-rw-r--r--graph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/graph.c b/graph.c
index 3f2ee6af..7dbfd357 100644
--- 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 <= 20 && ydiff <= 10;
+ return xdiff <= 10 && ydiff <= 10;
}
const char *graph_find_tooltip(struct graph *g, int x, int y)