mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
Reset mouse cursor on button up event.
This commit is contained in:
@@ -783,6 +783,7 @@ sub mouse_event {
|
|||||||
$parent->Refresh;
|
$parent->Refresh;
|
||||||
$self->{drag_start_pos} = undef;
|
$self->{drag_start_pos} = undef;
|
||||||
$self->{drag_object} = undef;
|
$self->{drag_object} = undef;
|
||||||
|
$self->SetCursor(wxSTANDARD_CURSOR);
|
||||||
} elsif ($event->Dragging) {
|
} elsif ($event->Dragging) {
|
||||||
return if !$self->{drag_start_pos}; # concurrency problems
|
return if !$self->{drag_start_pos}; # concurrency problems
|
||||||
for my $obj ($self->{drag_object}) {
|
for my $obj ($self->{drag_object}) {
|
||||||
|
|||||||
Reference in New Issue
Block a user