diff --git a/src/UI/Panels/UEPanel.cs b/src/UI/Panels/UEPanel.cs index 6e61a3b..7737475 100644 --- a/src/UI/Panels/UEPanel.cs +++ b/src/UI/Panels/UEPanel.cs @@ -119,6 +119,8 @@ namespace UnityExplorer.UI.Panels { Rect.SetAnchorsFromString(split[1]); Rect.SetPositionFromString(split[2]); + this.EnsureValidSize(); + this.EnsureValidPosition(); this.SetActive(bool.Parse(split[0])); } catch diff --git a/src/UI/UIManager.cs b/src/UI/UIManager.cs index 458def3..1058e79 100644 --- a/src/UI/UIManager.cs +++ b/src/UI/UIManager.cs @@ -26,7 +26,6 @@ namespace UnityExplorer.UI Options, ConsoleLog, AutoCompleter, - //MouseInspector, UIInspectorResults, HookManager, Clipboard,