Fix fullscreen game window F22 regression

This commit is contained in:
Wojtek Figat
2022-07-27 22:13:23 +02:00
parent ceeefd1796
commit 6f35b27c29

View File

@@ -78,6 +78,7 @@ namespace FlaxEditor.Windows
{
var monitorBounds = Platform.GetMonitorBounds(PointToScreen(Size * 0.5f));
ShowFloating(monitorBounds.Location + new Float2(200, 200), Float2.Zero, WindowStartPosition.Manual);
rootWindow = RootWindow;
}
if (rootWindow != null && !rootWindow.IsMaximized)
rootWindow.Maximize();