diff options
Diffstat (limited to 'Drawer.cpp')
-rw-r--r-- | Drawer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -47,7 +47,7 @@ gboolean Drawer::eventHandler(GtkWidget *widget, GdkEvent *event, Drawer *drawer return TRUE; case GDK_LEAVE_NOTIFY: - drawer->window->getEditManager().setHoveredVertex(NULL); + drawer->window->getEditManager().setHoveredVertex(NULL, drawer->scale); drawer->window->getActiveTool()->getEventHandler()->motion(); return TRUE; @@ -156,7 +156,7 @@ void Drawer::updateScrollbars(float x, float y) { void Drawer::updateHoveredPoint(float x, float y) { Vertex v(x, y); viewToImage(&v); - window->getEditManager().setHoveredVertex(&v); + window->getEditManager().setHoveredVertex(&v, scale); g_object_set(G_OBJECT(hRuler), "position", v.getX(), NULL); g_object_set(G_OBJECT(vRuler), "position", v.getY(), NULL); |