Fixed minor regression in plater 2D canvas
This commit is contained in:
parent
bf0eb1af0c
commit
049859e5b1
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue