mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-16 22:27:45 +08:00
Ensure valid panel size after loading save data
This commit is contained in:
parent
15f3f37948
commit
cbe17927fb
@ -119,6 +119,8 @@ namespace UnityExplorer.UI.Panels
|
|||||||
{
|
{
|
||||||
Rect.SetAnchorsFromString(split[1]);
|
Rect.SetAnchorsFromString(split[1]);
|
||||||
Rect.SetPositionFromString(split[2]);
|
Rect.SetPositionFromString(split[2]);
|
||||||
|
this.EnsureValidSize();
|
||||||
|
this.EnsureValidPosition();
|
||||||
this.SetActive(bool.Parse(split[0]));
|
this.SetActive(bool.Parse(split[0]));
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
|
@ -26,7 +26,6 @@ namespace UnityExplorer.UI
|
|||||||
Options,
|
Options,
|
||||||
ConsoleLog,
|
ConsoleLog,
|
||||||
AutoCompleter,
|
AutoCompleter,
|
||||||
//MouseInspector,
|
|
||||||
UIInspectorResults,
|
UIInspectorResults,
|
||||||
HookManager,
|
HookManager,
|
||||||
Clipboard,
|
Clipboard,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user