mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Refresh 2D plater canvas when window is resized (did not update on GTK)
This commit is contained in:
@@ -42,6 +42,7 @@ sub new {
|
|||||||
EVT_MOUSE_EVENTS($self, \&mouse_event);
|
EVT_MOUSE_EVENTS($self, \&mouse_event);
|
||||||
EVT_SIZE($self, sub {
|
EVT_SIZE($self, sub {
|
||||||
$self->update_bed_size;
|
$self->update_bed_size;
|
||||||
|
$self->Refresh;
|
||||||
});
|
});
|
||||||
|
|
||||||
return $self;
|
return $self;
|
||||||
|
|||||||
Reference in New Issue
Block a user