summaryrefslogtreecommitdiffstats
path: root/src/shape-editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shape-editor.cpp')
-rw-r--r--src/shape-editor.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/shape-editor.cpp b/src/shape-editor.cpp
index 7002c9723..e3b6d65c2 100644
--- a/src/shape-editor.cpp
+++ b/src/shape-editor.cpp
@@ -226,6 +226,16 @@ bool ShapeEditor::has_selection() {
return false; // so far, knotholder cannot have selection
}
+/**
+ * \brief Returns true if this ShapeEditor has a knot above which the mouse currently hovers
+ */
+bool ShapeEditor::knot_mouseover()
+{
+ if (this->knotholder) {
+ return knotholder->knot_mouseover();
+ }
+}
+
/*
Local Variables:
mode:c++