Glitches when panning with middle mouse button. #2454
This commit is contained in:
parent
4688ae2fb6
commit
6962b8dddd
@ -208,7 +208,7 @@ sub mouse_event {
|
||||
}
|
||||
$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) {
|
||||
$self->on_move->($self->_drag_volume_idx) if $self->_dragged;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user