Browse Source

Bugfix: Make sure game window is updated on resize or dock

BearishSun 6 years ago
parent
commit
66b7a34f35
2 changed files with 3 additions and 1 deletions
  1. 2 0
      Source/EditorManaged/Windows/GameWindow.cs
  2. 1 1
      Source/bsf

+ 2 - 0
Source/EditorManaged/Windows/GameWindow.cs

@@ -254,6 +254,8 @@ namespace bs.Editor
 
             Rect2I bgBounds = new Rect2I(0, 0, width, height);
             renderTextureBg.Bounds = bgBounds;
+
+            NotifyNeedsRedraw();
         }
 
         /// <summary>

+ 1 - 1
Source/bsf

@@ -1 +1 @@
-Subproject commit 8a3f975045bc6629c6ffab099cda58af5b6d3da4
+Subproject commit 7f868056d442a8c29a0be4d1fef4fe1dfb746564