From 2ca0d4627a893a79eda0f940ce067c96844d8af8 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Fri, 4 Jul 2014 12:13:39 +0200 Subject: [PATCH] Refresh 2D plater canvas when window is resized (did not update on GTK) --- lib/Slic3r/GUI/Plater/2D.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Slic3r/GUI/Plater/2D.pm b/lib/Slic3r/GUI/Plater/2D.pm index 0508b6d33..56206596b 100644 --- a/lib/Slic3r/GUI/Plater/2D.pm +++ b/lib/Slic3r/GUI/Plater/2D.pm @@ -42,6 +42,7 @@ sub new { EVT_MOUSE_EVENTS($self, \&mouse_event); EVT_SIZE($self, sub { $self->update_bed_size; + $self->Refresh; }); return $self;