Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangleselecttool.c: Always use crosshair cursor if shift or ctrl are down; fixes bug #345551.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2006-06-21 Bill Skaggs <weskaggs@primate.ucdavis.edu>
|
||||||
|
|
||||||
|
* app/tools/gimprectangleselecttool.c: Always use crosshair cursor
|
||||||
|
if shift or ctrl are down; fixes bug #345551.
|
||||||
|
|
||||||
2006-06-21 Sven Neumann <sven@gimp.org>
|
2006-06-21 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* plug-ins/common/colormap-remap.c: moved hints to the bottom.
|
* plug-ins/common/colormap-remap.c: moved hints to the bottom.
|
||||||
|
@ -436,6 +436,10 @@ gimp_rect_select_tool_cursor_update (GimpTool *tool,
|
|||||||
{
|
{
|
||||||
gimp_rectangle_tool_cursor_update (tool, coords, state, display);
|
gimp_rectangle_tool_cursor_update (tool, coords, state, display);
|
||||||
|
|
||||||
|
/* override the previous if shift or ctrl are down */
|
||||||
|
if (state & (GDK_SHIFT_MASK | GDK_CONTROL_MASK))
|
||||||
|
gimp_tool_control_set_cursor (tool->control, GIMP_CURSOR_CROSSHAIR_SMALL);
|
||||||
|
|
||||||
GIMP_TOOL_CLASS (parent_class)->cursor_update (tool, coords, state, display);
|
GIMP_TOOL_CLASS (parent_class)->cursor_update (tool, coords, state, display);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user