summaryrefslogtreecommitdiffstats
path: root/src/gradient-context.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2011-06-26 20:00:36 +0000
committerDiederik van Lierop <mail@diedenrezi.nl>2011-06-26 20:00:36 +0000
commitbdf703831ff93438d49324ab842052ccaf390a5d (patch)
treef98f378da026d6c5699b0565e2735c02f4f1620c /src/gradient-context.cpp
parentDocumentation. Tutorials translation update. (diff)
downloadinkscape-bdf703831ff93438d49324ab842052ccaf390a5d.tar.gz
inkscape-bdf703831ff93438d49324ab842052ccaf390a5d.zip
- Add a third group of snap sources/targets, called ¨others¨ (before we had only ¨bounding box¨ and nodes (see bug #788178)
- Fix the display of the snap source - Fix snapping of guides to other guides & grids (bzr r10372)
Diffstat (limited to 'src/gradient-context.cpp')
-rw-r--r--src/gradient-context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gradient-context.cpp b/src/gradient-context.cpp
index a237bb3c6..33b82b9f4 100644
--- a/src/gradient-context.cpp
+++ b/src/gradient-context.cpp
@@ -602,7 +602,7 @@ sp_gradient_context_root_handler(SPEventContext *event_context, GdkEvent *event)
Geom::Point const motion_w(event->motion.x, event->motion.y);
Geom::Point const motion_dt = event_context->desktop->w2d(motion_w);
- m.preSnap(Inkscape::SnapCandidatePoint(motion_dt, Inkscape::SNAPSOURCE_NODE_HANDLE));
+ m.preSnap(Inkscape::SnapCandidatePoint(motion_dt, Inkscape::SNAPSOURCE_OTHER_HANDLE));
m.unSetup();
}