diff options
author | Enrico Turri <enricoturri@seznam.cz> | 2018-09-07 13:00:04 +0300 |
---|---|---|
committer | Enrico Turri <enricoturri@seznam.cz> | 2018-09-07 13:00:04 +0300 |
commit | ea15475ad87db66bfde5fc2a65a2b831773d4518 (patch) | |
tree | 6fe522d47849b1e42c8a6b4bead23c1960a2df7e | |
parent | e9d5cd726e369ef2c2eef5dc63aa8aba8ae73713 (diff) |
Fixed double click on gizmo overlay and toolbar
-rw-r--r-- | xs/src/slic3r/GUI/GLCanvas3D.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xs/src/slic3r/GUI/GLCanvas3D.cpp b/xs/src/slic3r/GUI/GLCanvas3D.cpp index 56bfb8f37..edc5bc78e 100644 --- a/xs/src/slic3r/GUI/GLCanvas3D.cpp +++ b/xs/src/slic3r/GUI/GLCanvas3D.cpp @@ -2978,7 +2978,7 @@ void GLCanvas3D::on_mouse(wxMouseEvent& evt) m_mouse.position = Vec2d(-1.0, -1.0); m_dirty = true; } - else if (evt.LeftDClick() && (m_hover_volume_id != -1)) + else if (evt.LeftDClick() && (m_hover_volume_id != -1) && !gizmos_overlay_contains_mouse && (toolbar_contains_mouse == -1)) m_on_double_click_callback.call(); else if (evt.LeftDClick() && (toolbar_contains_mouse != -1)) { |