mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 02:55:55 +08:00
Fix wheel dragging
This commit is contained in:
parent
ec2a562d2a
commit
628c97e8c4
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user