From e6a7b16084f21efb8268abfa6e8773b089cf740f Mon Sep 17 00:00:00 2001 From: Diederik van Lierop Date: Sun, 15 Mar 2009 21:08:02 +0000 Subject: Implement constrained snapping when dragging the position and size handles of a rectangle in the node tool, with the ctrl-key being pressed. (bzr r7497) --- src/draw-context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/draw-context.cpp') diff --git a/src/draw-context.cpp b/src/draw-context.cpp index 3891ce331..955aeeae2 100644 --- a/src/draw-context.cpp +++ b/src/draw-context.cpp @@ -512,7 +512,7 @@ void spdc_endpoint_snap_rotation(SPEventContext const *const ec, Geom::Point &p, SnapManager &m = SP_EVENT_CONTEXT_DESKTOP(ec)->namedview->snap_manager; m.setup(SP_EVENT_CONTEXT_DESKTOP(ec)); Geom::Point pt2g = to_2geom(p); - m.constrainedSnapReturnByRef( Inkscape::SnapPreferences::SNAPPOINT_NODE, pt2g, Inkscape::SNAPSOURCE_HANDLE, Inkscape::Snapper::ConstraintLine(best)); + m.constrainedSnapReturnByRef( Inkscape::SnapPreferences::SNAPPOINT_NODE, pt2g, Inkscape::SNAPSOURCE_HANDLE, Inkscape::Snapper::ConstraintLine(best), false); p = from_2geom(pt2g); } } -- cgit v1.2.3