Code

Tiny bit of refactoring (inverting some logic)
[inkscape.git] / src / connector-context.cpp
index 294e129b3f4e40bdda229aeedd30fd44d9bbb9f8..b61c00df6a9a15968c82be0f0ee46f745f35ddee 100644 (file)
@@ -976,7 +976,7 @@ connector_handle_motion_notify(SPConnectorContext *const cc, GdkEventMotion cons
                 /* This is perfectly valid */
                 break;
             default:
-                if (sp_event_context_knot_mouseover(cc)) {
+                if (!sp_event_context_knot_mouseover(cc)) {
                     m.preSnap(Inkscape::SnapCandidatePoint(p, Inkscape::SNAPSOURCE_OTHER_HANDLE));
                 }
                 break;