From 628c97e8c4565585f0d28cb9b70b4c091a2ca98d Mon Sep 17 00:00:00 2001 From: Filip Sykala Date: Tue, 19 Apr 2022 12:11:47 +0200 Subject: [PATCH] Fix wheel dragging --- src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp b/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp index cea3112fde..8c7483b122 100644 --- a/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp +++ b/src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp @@ -227,7 +227,7 @@ static Vec2d calc_mouse_to_center_text_offset(const Vec2d& mouse, const ModelVol bool GLGizmoEmboss::on_mouse_for_translate(const wxMouseEvent &mouse_event) { // filter events - if (!mouse_event.Dragging() && + if (!(mouse_event.Dragging() && mouse_event.LeftIsDown()) && !mouse_event.LeftUp() && !mouse_event.LeftDown()) return false;