Also update rectangle handle sizes when canvas zoom is changed. (Forgot

2007-07-14  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangletool.c (gimp_rectangle_tool_control):
	Also update rectangle handle sizes when canvas zoom is
	changed. (Forgot that in previous commit.)

svn path=/trunk/; revision=22930
This commit is contained in:
Martin Nordholts 2007-07-14 16:29:04 +00:00 committed by Martin Nordholts
parent 5b3f4ea658
commit a8237b23b3
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2007-07-14 Martin Nordholts <martinn@svn.gnome.org>
* app/tools/gimprectangletool.c (gimp_rectangle_tool_control):
Also update rectangle handle sizes when canvas zoom is
changed. (Forgot that in previous commit.)
2007-07-14 Martin Nordholts <martinn@svn.gnome.org>
Made the rectangle tool handles not resize during rectangle

View File

@ -540,6 +540,7 @@ gimp_rectangle_tool_control (GimpTool *tool,
case GIMP_TOOL_ACTION_RESUME:
gimp_rectangle_tool_set_highlight (rectangle);
gimp_rectangle_tool_update_handle_sizes (rectangle);
break;
case GIMP_TOOL_ACTION_HALT:
@ -1618,7 +1619,7 @@ gimp_rectangle_tool_draw_guides (GimpDrawTool *draw_tool)
}
}
void
static void
gimp_rectangle_tool_update_handle_sizes (GimpRectangleTool *rectangle)
{
GimpTool *tool = GIMP_TOOL (rectangle);