mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Pan with middle mouse button too. #2444
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user