diff --git a/src/Core/Config/ConfigManager.cs b/src/Core/Config/ConfigManager.cs index 991f067..88693f6 100644 --- a/src/Core/Config/ConfigManager.cs +++ b/src/Core/Config/ConfigManager.cs @@ -16,7 +16,7 @@ namespace UnityExplorer.Core.Config // See the UnityExplorer.Loader namespace for the implementations. public static ConfigHandler Handler { get; private set; } - public static ConfigElement Main_Menu_Toggle; + public static ConfigElement Master_Toggle; public static ConfigElement Force_Unlock_Mouse; public static ConfigElement Force_Unlock_Toggle; public static ConfigElement Aggressive_Mouse_Unlock; @@ -71,8 +71,8 @@ namespace UnityExplorer.Core.Config private static void CreateConfigElements() { - Main_Menu_Toggle = new ConfigElement("Main Menu Toggle", - "The UnityEngine.KeyCode to toggle the UnityExplorer Menu.", + Master_Toggle = new ConfigElement("UnityExplorer Toggle", + "The key to enable or disable UnityExplorer's menu and features.", KeyCode.F7); Hide_On_Startup = new ConfigElement("Hide On Startup", diff --git a/src/UI/CacheObject/CacheConfigEntry.cs b/src/UI/CacheObject/CacheConfigEntry.cs index 97e83cc..fd2dcd4 100644 --- a/src/UI/CacheObject/CacheConfigEntry.cs +++ b/src/UI/CacheObject/CacheConfigEntry.cs @@ -29,8 +29,8 @@ namespace UnityExplorer.UI.CacheObject public void UpdateValueFromSource() { - if (RefConfigElement.BoxedValue.Equals(this.Value)) - return; + //if (RefConfigElement.BoxedValue.Equals(this.Value)) + // return; SetValueFromSource(RefConfigElement.BoxedValue); diff --git a/src/UI/Panels/OptionsPanel.cs b/src/UI/Panels/OptionsPanel.cs index c813abc..4da55bc 100644 --- a/src/UI/Panels/OptionsPanel.cs +++ b/src/UI/Panels/OptionsPanel.cs @@ -70,10 +70,10 @@ namespace UnityExplorer.UI.Panels protected internal override void DoSetDefaultPosAndAnchors() { mainPanelRect.localPosition = Vector2.zero; - mainPanelRect.pivot = new Vector2(0.5f, 1f); + mainPanelRect.pivot = new Vector2(0f, 1f); mainPanelRect.anchorMin = new Vector2(0.5f, 0.1f); mainPanelRect.anchorMax = new Vector2(0.5f, 0.85f); - mainPanelRect.SetSizeWithCurrentAnchors(RectTransform.Axis.Horizontal, 550f); + mainPanelRect.SetSizeWithCurrentAnchors(RectTransform.Axis.Horizontal, 600f); } // UI Construction