improve naming

This commit is contained in:
xxSeys1
2024-10-25 19:30:53 +02:00
parent 145933dd11
commit 2721364df6
3 changed files with 19 additions and 18 deletions

View File

@@ -279,11 +279,11 @@ namespace FlaxEditor.Modules
case Options.InterfaceOptions.PlayModeFocus.None:
break;
case Options.InterfaceOptions.PlayModeFocus.GamePanel:
case Options.InterfaceOptions.PlayModeFocus.GameWindow:
gameWin.FocusGameViewport();
break;
case Options.InterfaceOptions.PlayModeFocus.GamePanelThenBack:
case Options.InterfaceOptions.PlayModeFocus.GameWindowThenRestore:
_previousWindow = gameWin.ParentDockPanel.SelectedTab;
gameWin.FocusGameViewport();
break;
@@ -305,10 +305,10 @@ namespace FlaxEditor.Modules
case Options.InterfaceOptions.PlayModeFocus.None:
break;
case Options.InterfaceOptions.PlayModeFocus.GamePanel:
case Options.InterfaceOptions.PlayModeFocus.GameWindow:
break;
case Options.InterfaceOptions.PlayModeFocus.GamePanelThenBack:
case Options.InterfaceOptions.PlayModeFocus.GameWindowThenRestore:
if (!Editor.Windows.GameWin.ParentDockPanel.ContainsTab(_previousWindow))
break;