diff options
Diffstat (limited to 'src/ui/tools/zoom-tool.cpp')
| -rw-r--r-- | src/ui/tools/zoom-tool.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/tools/zoom-tool.cpp b/src/ui/tools/zoom-tool.cpp index 4f6627d82..0372e8d6c 100644 --- a/src/ui/tools/zoom-tool.cpp +++ b/src/ui/tools/zoom-tool.cpp @@ -49,7 +49,7 @@ void ZoomTool::finish() { this->enableGrDrag(false); if (this->grabbed) { - sp_canvas_item_ungrab(this->grabbed, GDK_CURRENT_TIME); + sp_canvas_item_ungrab(this->grabbed); this->grabbed = nullptr; } @@ -159,7 +159,7 @@ bool ZoomTool::root_handler(GdkEvent* event) { Inkscape::Rubberband::get(desktop)->stop(); if (this->grabbed) { - sp_canvas_item_ungrab(this->grabbed, event->button.time); + sp_canvas_item_ungrab(this->grabbed); this->grabbed = nullptr; } |
