* app/tools/gimprectangleselecttool.c: Always use crosshair cursor
	if shift or ctrl are down; fixes bug #345551.
This commit is contained in:
William Skaggs
2006-06-21 20:55:06 +00:00
parent 7e057945f2
commit 018618d31e
2 changed files with 9 additions and 0 deletions

View File

@ -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>
* plug-ins/common/colormap-remap.c: moved hints to the bottom.

View File

@ -436,6 +436,10 @@ gimp_rect_select_tool_cursor_update (GimpTool *tool,
{
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);
}