mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-23 18:39:55 +00:00
Improve snap to grid for line, ellipse, and rectangle (fix #1500)
This commit is contained in:
parent
7072ecebe3
commit
7690cedcbe
@ -180,8 +180,7 @@ public:
|
||||
|
||||
// Adjust points for selection like tools (so we can select tiles)
|
||||
if (loop->getController()->canSnapToGrid() &&
|
||||
loop->getSnapToGrid() &&
|
||||
loop->getInk()->isSelection()) {
|
||||
loop->getSnapToGrid()) {
|
||||
if (stroke[0].x < stroke[1].x)
|
||||
stroke[1].x--;
|
||||
else if (stroke[0].x > stroke[1].x)
|
||||
|
Loading…
x
Reference in New Issue
Block a user