mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 05:59:00 +08:00
Fixed minor regression in plater 2D canvas
This commit is contained in:
parent
bf0eb1af0c
commit
049859e5b1
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user