Stamps -> Rotation: Better mouse warping

Stamp width needed to be cut in half, since stamp's _center_ is
at the click (old_x) position.  Also, avoid warping outside of the
canvas.
This commit is contained in:
Bill Kendrick 2022-09-11 11:05:01 -07:00
parent cc28f48f7e
commit eaba5e94f4
2 changed files with 11 additions and 4 deletions

View file

@ -7,7 +7,7 @@ Various contributors (see below, and AUTHORS.txt)
http://www.tuxpaint.org/
2022.September.10 (0.9.29)
2022.September.11 (0.9.29)
* Improvements to "Stamp" tool:
-----------------------------
* Stamps may now be rotated.