Shape tool would only resize a shape if you dragged down or right, not up or left.

(SF.net Bug #2834320)
This commit is contained in:
William Kendrick 2009-08-10 23:47:42 +00:00
parent f4a30f5a7d
commit 6637f3fba4
2 changed files with 7 additions and 2 deletions

View file

@ -64,6 +64,11 @@ $Id$
* Bug Fixes
---------
* Buffersize for holding Starter and image filenames was way too low.
(Could crash with Starter images with very long filenames.)
* Shape tool would only resize a shape if you dragged down or right,
not up or left.
(SF.net Bug #2834320)
2009.June.28 (0.9.21)

View file

@ -12432,8 +12432,8 @@ static void do_shape(int cx, int cy, int ox, int oy, int rotn, int use_brush)
cy += ((y2 - y1) / 2);
#endif
rx = ox - cx;
ry = oy - cy;
rx = abs(ox - cx);
ry = abs(oy - cy);
/* If the shape has a 1:1 ("locked") aspect ratio, use the larger radius: */