]> Shamusworld >> Repos - architektonas/blobdiff - src/drawingview.cpp
Fixed Container loading, informative display.
[architektonas] / src / drawingview.cpp
index bdc3540b0442fc51b243e6096da6a94b362d2632..838d45aae4f62e59827d082a9c6b34eb8c6eca18 100644 (file)
@@ -393,7 +393,12 @@ Now we do... :-/
                        update();       // Do an update if collided with at least *one* object in the document
 
                if (toolAction)
+               {
+                       if (Object::snapToGrid)
+                               point = Object::SnapPointToGrid(point);
+
                        toolAction->MouseDown(point);
+               }
 
                // Didn't hit any object and not using a tool, so do a selection rectangle
                if (!(collided || toolAction))