Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Commit 88e63c8

Browse files
committed
Fix logic after changes in UniverseLib
1 parent 3b851b6 commit 88e63c8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/UI/Panels/UEPanel.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,17 @@ public override void SetActive(bool active)
7171

7272
// Save Data
7373

74+
bool setDefault = false;
75+
76+
public override void SetDefaultSizeAndPosition()
77+
{
78+
if (setDefault)
79+
return;
80+
setDefault = true;
81+
82+
base.SetDefaultSizeAndPosition();
83+
}
84+
7485
public bool ApplyingSaveData { get; set; }
7586

7687
public void SaveInternalData()

0 commit comments

Comments
 (0)