diff --git a/src/event-context.cpp b/src/event-context.cpp
index 1e47b9d9da4be0790ec4094543c7138eca6f8a2a..77c10765bdb37e014c4a29a5f784024bfe1a48f7 100644 (file)
--- a/src/event-context.cpp
+++ b/src/event-context.cpp
return ret;
}
+/**
+ * @brief: Returns true if we're hovering above a knot (needed because we don't want to pre-snap in that case)
+ */
+
bool sp_event_context_knot_mouseover(SPEventContext *ec)
{
if (ec->shape_editor) {
- return !(ec->shape_editor->knot_mouseover());
+ return ec->shape_editor->knot_mouseover();
}
return false;