mirror of https://github.com/GNOME/gimp.git
Don't forget updating the integer representation when reverting the
2008-05-10 Martin Nordholts <martinn@svn.gnome.org> * app/tools/gimprectangletool.c (gimp_rectangle_tool_button_release): Don't forget updating the integer representation when reverting the rectangle after cancelling a rubber-banding. svn path=/trunk/; revision=25610
This commit is contained in:
parent
a535806b14
commit
05320b55ea
|
@ -1,3 +1,10 @@
|
|||
2008-05-10 Martin Nordholts <martinn@svn.gnome.org>
|
||||
|
||||
* app/tools/gimprectangletool.c
|
||||
(gimp_rectangle_tool_button_release): Don't forget updating the
|
||||
integer representation when reverting the rectangle after
|
||||
cancelling a rubber-banding.
|
||||
|
||||
2008-05-10 Martin Nordholts <martinn@svn.gnome.org>
|
||||
|
||||
* app/tools/gimprectangletool.c
|
||||
|
|
|
@ -970,6 +970,7 @@ gimp_rectangle_tool_button_release (GimpTool *tool,
|
|||
private->y1 = private->saved_y1;
|
||||
private->x2 = private->saved_x2;
|
||||
private->y2 = private->saved_y2;
|
||||
gimp_rectangle_tool_update_int_rect (rect_tool);
|
||||
|
||||
/* If the first created rectangle was canceled, halt the tool */
|
||||
if (gimp_rectangle_tool_rectangle_is_new (rect_tool))
|
||||
|
|
Loading…
Reference in New Issue