[gimp] app: set warp-tool scroll-lock to TRUE



commit 6acedc7ebb4d6b5f6484f85908d46ff690463608
Author: Ell <ell_se yahoo com>
Date:   Sun Mar 3 09:10:06 2019 -0500

    app: set warp-tool scroll-lock to TRUE
    
    In the warp tool, set scroll-lock to TRUE, so that the image isn't
    scrolled when click-dragging outside the canvas, like the rest of
    our paint tools.

 app/tools/gimpwarptool.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/app/tools/gimpwarptool.c b/app/tools/gimpwarptool.c
index 31c7ba77b6..f281235c8b 100644
--- a/app/tools/gimpwarptool.c
+++ b/app/tools/gimpwarptool.c
@@ -192,6 +192,7 @@ gimp_warp_tool_init (GimpWarpTool *self)
 {
   GimpTool *tool = GIMP_TOOL (self);
 
+  gimp_tool_control_set_scroll_lock     (tool->control, TRUE);
   gimp_tool_control_set_preserve        (tool->control, FALSE);
   gimp_tool_control_set_dirty_mask      (tool->control,
                                          GIMP_DIRTY_IMAGE           |


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