mirror of https://github.com/GNOME/gimp.git
Ctrl only sets the clone source when Shift isn't pressed at the same time
2003-09-03 Sven Neumann <sven@gimp.org> * app/tools/gimpclonetool.c: Ctrl only sets the clone source when Shift isn't pressed at the same time (fixes bug #121324).
This commit is contained in:
parent
b2c141e822
commit
157dc58571
|
@ -1,3 +1,8 @@
|
|||
2003-09-03 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/tools/gimpclonetool.c: Ctrl only sets the clone source when
|
||||
Shift isn't pressed at the same time (fixes bug #121324).
|
||||
|
||||
2003-09-03 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/paint-funcs/paint-funcs-generic.h (dissolve_pixels)
|
||||
|
|
|
@ -205,7 +205,7 @@ gimp_clone_tool_button_press (GimpTool *tool,
|
|||
|
||||
paint_tool = GIMP_PAINT_TOOL (tool);
|
||||
|
||||
if (state & GDK_CONTROL_MASK)
|
||||
if ((state & (GDK_CONTROL_MASK | GDK_SHIFT_MASK)) == GDK_CONTROL_MASK)
|
||||
GIMP_CLONE (paint_tool->core)->set_source = TRUE;
|
||||
else
|
||||
GIMP_CLONE (paint_tool->core)->set_source = FALSE;
|
||||
|
@ -225,7 +225,7 @@ gimp_clone_tool_motion (GimpTool *tool,
|
|||
|
||||
paint_tool = GIMP_PAINT_TOOL (tool);
|
||||
|
||||
if (state & GDK_CONTROL_MASK)
|
||||
if ((state & (GDK_CONTROL_MASK | GDK_SHIFT_MASK)) == GDK_CONTROL_MASK)
|
||||
GIMP_CLONE (paint_tool->core)->set_source = TRUE;
|
||||
else
|
||||
GIMP_CLONE (paint_tool->core)->set_source = FALSE;
|
||||
|
@ -259,7 +259,7 @@ gimp_clone_tool_cursor_update (GimpTool *tool,
|
|||
|
||||
if (options->clone_type == GIMP_IMAGE_CLONE)
|
||||
{
|
||||
if (state & GDK_CONTROL_MASK)
|
||||
if ((state & (GDK_CONTROL_MASK | GDK_SHIFT_MASK)) == GDK_CONTROL_MASK)
|
||||
ctype = GIMP_CROSSHAIR_SMALL_CURSOR;
|
||||
else if (! GIMP_CLONE (GIMP_PAINT_TOOL (tool)->core)->src_drawable)
|
||||
ctype = GIMP_BAD_CURSOR;
|
||||
|
|
|
@ -205,7 +205,7 @@ gimp_clone_tool_button_press (GimpTool *tool,
|
|||
|
||||
paint_tool = GIMP_PAINT_TOOL (tool);
|
||||
|
||||
if (state & GDK_CONTROL_MASK)
|
||||
if ((state & (GDK_CONTROL_MASK | GDK_SHIFT_MASK)) == GDK_CONTROL_MASK)
|
||||
GIMP_CLONE (paint_tool->core)->set_source = TRUE;
|
||||
else
|
||||
GIMP_CLONE (paint_tool->core)->set_source = FALSE;
|
||||
|
@ -225,7 +225,7 @@ gimp_clone_tool_motion (GimpTool *tool,
|
|||
|
||||
paint_tool = GIMP_PAINT_TOOL (tool);
|
||||
|
||||
if (state & GDK_CONTROL_MASK)
|
||||
if ((state & (GDK_CONTROL_MASK | GDK_SHIFT_MASK)) == GDK_CONTROL_MASK)
|
||||
GIMP_CLONE (paint_tool->core)->set_source = TRUE;
|
||||
else
|
||||
GIMP_CLONE (paint_tool->core)->set_source = FALSE;
|
||||
|
@ -259,7 +259,7 @@ gimp_clone_tool_cursor_update (GimpTool *tool,
|
|||
|
||||
if (options->clone_type == GIMP_IMAGE_CLONE)
|
||||
{
|
||||
if (state & GDK_CONTROL_MASK)
|
||||
if ((state & (GDK_CONTROL_MASK | GDK_SHIFT_MASK)) == GDK_CONTROL_MASK)
|
||||
ctype = GIMP_CROSSHAIR_SMALL_CURSOR;
|
||||
else if (! GIMP_CLONE (GIMP_PAINT_TOOL (tool)->core)->src_drawable)
|
||||
ctype = GIMP_BAD_CURSOR;
|
||||
|
|
Loading…
Reference in New Issue