summaryrefslogtreecommitdiffstats
path: root/Drawer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Drawer.cpp')
-rw-r--r--Drawer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Drawer.cpp b/Drawer.cpp
index 8bcfe4a..bea6a59 100644
--- a/Drawer.cpp
+++ b/Drawer.cpp
@@ -43,10 +43,12 @@ gboolean Drawer::eventHandler(GtkWidget *widget, GdkEvent *event, Drawer *drawer
case GDK_ENTER_NOTIFY:
drawer->updateHoveredPoint(event->crossing.x, event->crossing.y);
+ drawer->window->getActiveTool()->getEventHandler()->motion();
return TRUE;
case GDK_LEAVE_NOTIFY:
drawer->window->getEditManager().setHoveredVertex(NULL);
+ drawer->window->getActiveTool()->getEventHandler()->motion();
return TRUE;
case GDK_BUTTON_PRESS: