diff --git a/lib/Slic3r/GUI/PreviewCanvas.pm b/lib/Slic3r/GUI/PreviewCanvas.pm index 61a2b20b4..67bc49757 100644 --- a/lib/Slic3r/GUI/PreviewCanvas.pm +++ b/lib/Slic3r/GUI/PreviewCanvas.pm @@ -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; }