[gimp] app: do not draw the big handle when we have a fallback for the outline.



commit 64dc26064b4d04d8f9d6438afd162f132381c145
Author: Jehan <jehan girinstud io>
Date:   Sat Mar 12 17:44:42 2022 +0100

    app: do not draw the big handle when we have a fallback for the outline.
    
    If someone explicitly asked not to get a pointer, yet to have the
    outline, we should not force a crosshair on them while the fallback
    outline is a perfectly visible mark (4 arcs around the pointer's
    position, well delimiting the brush size).

 app/tools/gimppainttool.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/app/tools/gimppainttool.c b/app/tools/gimppainttool.c
index 7497d69207..32fd6c1a7c 100644
--- a/app/tools/gimppainttool.c
+++ b/app/tools/gimppainttool.c
@@ -863,9 +863,10 @@ gimp_paint_tool_draw (GimpDrawTool *draw_tool)
                                   0.0, (2.0 * G_PI));
         }
 
-      if (! outline                 &&
-          ! line_drawn              &&
-          ! paint_tool->show_cursor &&
+      if (! outline                   &&
+          ! paint_tool->draw_fallback &&
+          ! line_drawn                &&
+          ! paint_tool->show_cursor   &&
           ! paint_tool->draw_circle)
         {
           /*  don't leave the user without any indication and draw


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]