Code

When dragging a knot along a constraint line, then allow snapping the position of...
[inkscape.git] / src / snap.cpp
index f0769e0a1ad1903326446d38f50986fa7d4bc5f1..c03f2e1e628e09b7d9108a450b94b261080063a7 100644 (file)
@@ -378,7 +378,10 @@ Inkscape::SnappedPoint SnapManager::constrainedSnap(Inkscape::SnapPreferences::P
         items_to_ignore = _items_to_ignore;
     }
 
+
+    // First project the mouse pointer onto the constraint
     Geom::Point pp = constraint.projection(p);
+    // Then try to snap the projected point
 
     SnappedConstraints sc;
     SnapperList const snappers = getSnappers();