[gimp] app: don't show the line to the next free select point when not in proximity
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: don't show the line to the next free select point when not in proximity
- Date: Sun, 27 Feb 2011 10:52:54 +0000 (UTC)
commit ca618093cff81ce22e829fbd5aefe24634b41442
Author: Michael Natterer <mitch gimp org>
Date: Sun Feb 27 11:49:54 2011 +0100
app: don't show the line to the next free select point when not in proximity
like when leaving the canvas or crossing a window above (tools receive
one oper_update() with proximity = FALSE to indicate the pointer
leaving the canvas).
app/tools/gimpfreeselecttool.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/app/tools/gimpfreeselecttool.c b/app/tools/gimpfreeselecttool.c
index 37cdb13..4c444b6 100644
--- a/app/tools/gimpfreeselecttool.c
+++ b/app/tools/gimpfreeselecttool.c
@@ -1185,7 +1185,8 @@ gimp_free_select_tool_oper_update (GimpTool *tool,
if (priv->n_points == 0 ||
(gimp_free_select_tool_is_point_grabbed (fst) &&
- ! hovering_first_point))
+ ! hovering_first_point) ||
+ ! proximity)
{
priv->show_pending_point = FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]