Don't select objects when the shift button pressed. This allows for easier rotating when zoomed in.

This commit is contained in:
uclaros 2016-11-02 14:11:22 +02:00
parent d7edc08287
commit 8738d7f5e7

View File

@ -148,7 +148,7 @@ sub mouse_event {
} elsif ($e->LeftDClick) {
$self->on_double_click->()
if $self->on_double_click;
} elsif ($e->LeftDown || $e->RightDown) {
} elsif (($e->LeftDown || $e->RightDown) && not $e->ShiftDown) {
# If user pressed left or right button we first check whether this happened
# on a volume or not.
my $volume_idx = $self->_hover_volume_idx // -1;