mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 07:34:03 -06:00
Pan with middle mouse button too. #2444
This commit is contained in:
parent
6ac82f1a20
commit
5dc635b0b1
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue