From a64d23b8ed34e38df6f4e7b4bec2e46823040190 Mon Sep 17 00:00:00 2001 From: thallard Date: Thu, 5 Aug 2021 12:46:29 +0200 Subject: [PATCH] Some tweaks --- Source/Editor/GUI/Docking/DockWindow.cs | 2 +- Source/Editor/Options/InterfaceOptions.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Editor/GUI/Docking/DockWindow.cs b/Source/Editor/GUI/Docking/DockWindow.cs index 058e7266c..0d58c00a5 100644 --- a/Source/Editor/GUI/Docking/DockWindow.cs +++ b/Source/Editor/GUI/Docking/DockWindow.cs @@ -241,7 +241,7 @@ namespace FlaxEditor.GUI.Docking /// public void FocusOrShow() { - FocusOrShow((DockState)Editor.Instance.Options.Options.Interface.DockNewWindow); + FocusOrShow((DockState)Editor.Instance.Options.Options.Interface.NewWindowMethod); } /// diff --git a/Source/Editor/Options/InterfaceOptions.cs b/Source/Editor/Options/InterfaceOptions.cs index 9ed39b3b9..eb0e0e762 100644 --- a/Source/Editor/Options/InterfaceOptions.cs +++ b/Source/Editor/Options/InterfaceOptions.cs @@ -110,8 +110,8 @@ namespace FlaxEditor.Options /// Gets or sets the method window opening. /// [DefaultValue(DockStateProxy.Float)] - [EditorDisplay("Interface", "Define The Method Window Opening"), EditorOrder(150), Tooltip("Define the opening method for windows, open a in new tab by default.")] - public DockStateProxy DockNewWindow { get; set; } = DockStateProxy.Float; + [EditorDisplay("Interface", "Define The Opening Window Method"), EditorOrder(150), Tooltip("Define the opening method for new windows, open in a new tab by default.")] + public DockStateProxy NewWindowMethod { get; set; } = DockStateProxy.Float; /// /// Gets or sets the timestamps prefix mode for debug log messages.