summaryrefslogtreecommitdiffstats
path: root/src/event-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/event-context.cpp')
-rw-r--r--src/event-context.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/event-context.cpp b/src/event-context.cpp
index 1e47b9d9d..77c10765b 100644
--- a/src/event-context.cpp
+++ b/src/event-context.cpp
@@ -744,10 +744,14 @@ gint sp_event_context_private_item_handler(SPEventContext *ec, SPItem *item,
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;