mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 01:15:53 +08:00
Pan with middle mouse button too. #2444
This commit is contained in:
parent
6ac82f1a20
commit
5dc635b0b1
@ -189,7 +189,7 @@ sub mouse_event {
|
|||||||
$self->Refresh;
|
$self->Refresh;
|
||||||
}
|
}
|
||||||
$self->_drag_start_pos($pos);
|
$self->_drag_start_pos($pos);
|
||||||
} elsif ($e->RightIsDown) {
|
} elsif ($e->MiddleIsDown || $e->RightIsDown) {
|
||||||
# if dragging over blank area with right button, translate
|
# if dragging over blank area with right button, translate
|
||||||
|
|
||||||
if (defined $self->_drag_start_xy) {
|
if (defined $self->_drag_start_xy) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user