DEADSOFTWARE

Main: Update render viewport on preview
authorbinarymaster <x86corez@gmail.com>
Mon, 25 Sep 2017 14:13:12 +0000 (17:13 +0300)
committerbinarymaster <x86corez@gmail.com>
Mon, 25 Sep 2017 14:13:12 +0000 (17:13 +0300)
src/editor/f_main.pas

index 8fd1fa3372b6a4e87fe52580603a0f3a82def031..061e916d2f490781327162979ad7a5c8b329df6d 100644 (file)
@@ -6107,6 +6107,8 @@ begin
 
   PreviewMode := not PreviewMode;
   (Sender as TMenuItem).Checked := PreviewMode;
+
+  FormResize(Self);
 end;
 
 procedure TMainForm.miLayer1Click(Sender: TObject);