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.
This commit is contained in:
Ell 2019-03-03 09:10:06 -05:00
parent 8d4e5e0ff7
commit 6acedc7ebb
1 changed files with 1 additions and 0 deletions

View File

@ -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 |