summaryrefslogtreecommitdiffstats
path: root/src/draw-context.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2009-03-15 21:08:02 +0000
committerdvlierop2 <dvlierop2@users.sourceforge.net>2009-03-15 21:08:02 +0000
commite6a7b16084f21efb8268abfa6e8773b089cf740f (patch)
tree5938368bcddd877797cdc5cefa370df3f704d1e6 /src/draw-context.cpp
parentstore default size in lpe::ArrayParam (diff)
downloadinkscape-e6a7b16084f21efb8268abfa6e8773b089cf740f.tar.gz
inkscape-e6a7b16084f21efb8268abfa6e8773b089cf740f.zip
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)
Diffstat (limited to 'src/draw-context.cpp')
-rw-r--r--src/draw-context.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}
}