diff options
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/e-reflow.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/widgets/misc/e-reflow.c b/widgets/misc/e-reflow.c index 735d965120..3fb664cea4 100644 --- a/widgets/misc/e-reflow.c +++ b/widgets/misc/e-reflow.c @@ -675,10 +675,12 @@ e_reflow_point (GnomeCanvasItem *item, { double distance = 1; + *actual_item = NULL; + if (GNOME_CANVAS_ITEM_CLASS(parent_class)->point) distance = GNOME_CANVAS_ITEM_CLASS(parent_class)->point (item, x, y, cx, cy, actual_item); - if (*actual_item) - return 0; + if ((int) (distance * item->canvas->pixels_per_unit + 0.5) <= item->canvas->close_enough && *actual_item) + return distance; *actual_item = item; return 0; |