Commit d27db074 authored by Seth Burgess's avatar Seth Burgess

Made flip tool work normally again. -- Seth Burgess <sjburges@gimp.org>

parent 007d7f0a
Tue Aug 11 23:17:20 CST 1998 Seth Burgess <sjburges@gimp.org>
* app/transform_core.c: Fixed the flip tool so it would operate
properly even if "New Interface" is selected for the transform
tools.
Tue Aug 11 22:41:20 MEST 1998 Sven Neumann <sven@gimp.org>
* app/app_procs.c
......
......@@ -242,7 +242,9 @@ transform_core_button_release (tool, bevent, gdisp_ptr)
if (new_ui)
{
/* In the new UI, shift-clicking means perform the transform */
if (bevent->state & GDK_SHIFT_MASK)
if ((bevent->state & GDK_SHIFT_MASK)
|| (tool->type == FLIP_HORZ)
|| (tool->type == FLIP_VERT))
{
transform_core_doit (tool, gdisp_ptr);
}
......
......@@ -242,7 +242,9 @@ transform_core_button_release (tool, bevent, gdisp_ptr)
if (new_ui)
{
/* In the new UI, shift-clicking means perform the transform */
if (bevent->state & GDK_SHIFT_MASK)
if ((bevent->state & GDK_SHIFT_MASK)
|| (tool->type == FLIP_HORZ)
|| (tool->type == FLIP_VERT))
{
transform_core_doit (tool, gdisp_ptr);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment