mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 06:33:57 -06:00
Glitches when panning with middle mouse button. #2454
This commit is contained in:
parent
4688ae2fb6
commit
6962b8dddd
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ sub mouse_event {
|
||||||
}
|
}
|
||||||
$self->_drag_start_xy($pos);
|
$self->_drag_start_xy($pos);
|
||||||
}
|
}
|
||||||
} elsif ($e->LeftUp || $e->RightUp) {
|
} elsif ($e->LeftUp || $e->MiddleUp || $e->RightUp) {
|
||||||
if ($self->on_move && defined $self->_drag_volume_idx) {
|
if ($self->on_move && defined $self->_drag_volume_idx) {
|
||||||
$self->on_move->($self->_drag_volume_idx) if $self->_dragged;
|
$self->on_move->($self->_drag_volume_idx) if $self->_dragged;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue