Refresh 2D plater canvas when window is resized (did not update on GTK)
This commit is contained in:
parent
07f8fb1264
commit
2ca0d4627a
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue