mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 22:05:53 +08:00
Measuring - Gizmo measure - Do not close the gizmo when the user clicks outside of any volume
This commit is contained in:
parent
402fe908c1
commit
2f130ca6e1
@ -325,6 +325,9 @@ bool GLGizmoMeasure::on_mouse(const wxMouseEvent &mouse_event)
|
||||
m_mouse_left_down = false;
|
||||
return true;
|
||||
}
|
||||
if (m_hover_id == -1 && !m_parent.is_mouse_dragging())
|
||||
// avoid closing the gizmo if the user clicks outside of any volume
|
||||
return true;
|
||||
}
|
||||
else if (mouse_event.RightDown() && mouse_event.CmdDown()) {
|
||||
m_selected_features.reset();
|
||||
|
Loading…
x
Reference in New Issue
Block a user