]> Shamusworld >> Repos - architektonas/commit
Fix object selection to work while in snap mode.
authorShamus Hammons <jlhamm@acm.org>
Sun, 18 Aug 2013 19:24:25 +0000 (14:24 -0500)
committerShamus Hammons <jlhamm@acm.org>
Sun, 18 Aug 2013 19:24:25 +0000 (14:24 -0500)
commite8987f4028a1f9c0eeb33a45bd11b2e409b9c2c5
tree6550c204dd7471208a2b99ec60b843bf74157e83
parenteb711912d64f17cf9c18c74c4d78d9867bd066ad
Fix object selection to work while in snap mode.

Turns out that unless the point on the object you were trying to select
fell on a grid point, you couldn't select it in snap mode. So moving the
grid snap code into the objects is what solved that, though
ungraciously. Will have to see if there's a better way to do it. :-P
src/applicationwindow.cpp
src/arc.cpp
src/circle.cpp
src/drawingview.cpp
src/drawingview.h
src/line.cpp
src/object.cpp
src/object.h