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:
parent
f4a30f5a7d
commit
6637f3fba4
2 changed files with 7 additions and 2 deletions
|
|
@ -64,6 +64,11 @@ $Id$
|
||||||
* Bug Fixes
|
* Bug Fixes
|
||||||
---------
|
---------
|
||||||
* Buffersize for holding Starter and image filenames was way too low.
|
* 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)
|
2009.June.28 (0.9.21)
|
||||||
|
|
|
||||||
|
|
@ -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);
|
cy += ((y2 - y1) / 2);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
rx = ox - cx;
|
rx = abs(ox - cx);
|
||||||
ry = oy - cy;
|
ry = abs(oy - cy);
|
||||||
|
|
||||||
/* If the shape has a 1:1 ("locked") aspect ratio, use the larger radius: */
|
/* If the shape has a 1:1 ("locked") aspect ratio, use the larger radius: */
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue