summaryrefslogtreecommitdiffstats
path: root/src/gradient-drag.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2007-08-07 20:05:00 +0000
committerdvlierop2 <dvlierop2@users.sourceforge.net>2007-08-07 20:05:00 +0000
commit122d4274f150001d17154b72178ef1b53125c66c (patch)
tree24b90705ce1d319bf04129965d1a502618952b46 /src/gradient-drag.cpp
parentwarn when ConvertToShape fails (diff)
downloadinkscape-122d4274f150001d17154b72178ef1b53125c66c.tar.gz
inkscape-122d4274f150001d17154b72178ef1b53125c66c.zip
Only in the selector tool we should snap in bbox mode (PointType = SNAPPOINT_BBOX)
(bzr r3415)
Diffstat (limited to 'src/gradient-drag.cpp')
-rw-r--r--src/gradient-drag.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gradient-drag.cpp b/src/gradient-drag.cpp
index f4070079b..171881a78 100644
--- a/src/gradient-drag.cpp
+++ b/src/gradient-drag.cpp
@@ -436,7 +436,7 @@ gr_knot_moved_handler(SPKnot *knot, NR::Point const *ppointer, guint state, gpoi
if (!((state & GDK_SHIFT_MASK) || ((state & GDK_CONTROL_MASK) && (state & GDK_MOD1_MASK)))) {
// Try snapping to the grid or guides
SnapManager const &m = dragger->parent->desktop->namedview->snap_manager;
- Inkscape::SnappedPoint s = m.freeSnap(Inkscape::Snapper::SNAPPOINT_NODE | Inkscape::Snapper::SNAPPOINT_BBOX, p, NULL);
+ Inkscape::SnappedPoint s = m.freeSnap(Inkscape::Snapper::SNAPPOINT_NODE, p, NULL);
if (s.getDistance() < 1e6) {
p = s.getPoint();
sp_knot_moveto (knot, &p);