Code

Finally introducing the pre-snap indicator
[inkscape.git] / src / connector-context.cpp
index bfdef103213dfb7f8775cd97592c6ef12dbbd3ba..294e129b3f4e40bdda229aeedd30fd44d9bbb9f8 100644 (file)
@@ -976,6 +976,9 @@ connector_handle_motion_notify(SPConnectorContext *const cc, GdkEventMotion cons
                 /* This is perfectly valid */
                 break;
             default:
+                if (sp_event_context_knot_mouseover(cc)) {
+                    m.preSnap(Inkscape::SnapCandidatePoint(p, Inkscape::SNAPSOURCE_OTHER_HANDLE));
+                }
                 break;
         }
     }