diff --git a/src/shape-editor.cpp b/src/shape-editor.cpp
index 7002c972356accbcd98339de0555e4fd78a99f13..1962b710ca1ad6accb7a02ad6611ad1228361b8b 100644 (file)
--- a/src/shape-editor.cpp
+++ b/src/shape-editor.cpp
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();
+ }
+ return false;
+}
+
/*
Local Variables:
mode:c++