Add the ability to quickly change window modes for the game window.
This commit is contained in:
@@ -264,11 +264,14 @@ namespace FlaxEditor.Modules
|
||||
_enterPlayFocusedWindow = gameWin;
|
||||
|
||||
// Show Game widow if hidden
|
||||
if (gameWin != null && gameWin.FocusOnPlay)
|
||||
if (gameWin != null)
|
||||
{
|
||||
gameWin.FocusGameViewport();
|
||||
if (gameWin.FocusOnPlay)
|
||||
gameWin.FocusGameViewport();
|
||||
gameWin.SetWindowMode(Editor.Options.Options.Interface.DefaultGameWindowMode);
|
||||
}
|
||||
|
||||
|
||||
Editor.Log("[PlayMode] Enter");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user