Code

1) Improve the way the distance to the pointer is taken into account when finding...
[inkscape.git] / src / nodepath.h
index 262b93d0434fe53a9dbe63841055ad0cd362a8be..8c3d2744221f749e0edd4af1862595e349360672 100644 (file)
@@ -276,6 +276,10 @@ class Path {
     /// there isn't any); we also consider the node mouseovered if it is covered
     /// by one of its handles and the latter is mouseovered
     static Node *active_node;
+    
+    /// Location of mouse pointer when we started dragging, needed for snapping
+       Geom::Point drag_origin_mouse;
+
 };
 
 }  // namespace NodePath