From 7690cedcbeb7beb6043cef85bbdf75d0d6935f31 Mon Sep 17 00:00:00 2001 From: David Capello Date: Thu, 29 Jun 2017 15:33:12 -0300 Subject: [PATCH] Improve snap to grid for line, ellipse, and rectangle (fix #1500) --- src/app/tools/controllers.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/tools/controllers.h b/src/app/tools/controllers.h index 06d6161a2..86fcedc9b 100644 --- a/src/app/tools/controllers.h +++ b/src/app/tools/controllers.h @@ -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)