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



commit bf89b9a9bcc917f1cd8ad2fb64a8793ed7d93e00
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.
    
    (cherry picked from commit 6acedc7ebb4d6b5f6484f85908d46ff690463608)

 app/tools/gimpwarptool.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/app/tools/gimpwarptool.c b/app/tools/gimpwarptool.c
index 4218467012..9708483b46 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]