mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07:00
Fixed minor regression in plater 2D canvas
This commit is contained in:
@@ -211,7 +211,8 @@ sub mouse_event {
|
||||
}
|
||||
$self->Refresh;
|
||||
} elsif ($event->ButtonUp(&Wx::wxMOUSE_BTN_LEFT)) {
|
||||
$self->{on_instance_moved}->(@{ $self->{drag_object} });
|
||||
$self->{on_instance_moved}->(@{ $self->{drag_object} })
|
||||
if $self->{drag_object};
|
||||
$self->Refresh;
|
||||
$self->{drag_start_pos} = undef;
|
||||
$self->{drag_object} = undef;
|
||||
|
||||
Reference in New Issue
Block a user