summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
0ed83bc)
Make it 10, like the Y-axis. Seems to work well in practice.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
int xdiff = abs(xy->gx - x);
int ydiff = abs(xy->gy - 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)
}
const char *graph_find_tooltip(struct graph *g, int x, int y)