Skip to content
This repository was archived by the owner on Jul 27, 2022. It is now read-only.

Commit 5f59fd0

Browse files
committed
fix sideui not showing up on different resolutions
1 parent f88f350 commit 5f59fd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SideUI/SideUI.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ private SideUI() : base("SideUI")
3333

3434
rect = Sidebar.transform.Cast<RectTransform>();
3535
rect.sizeDelta = new(200, 0);
36+
rect.localPosition = new(101, -80);
3637
rect.anchorMin = new(0, 1);
3738
rect.anchorMax = new(0, 1);
38-
rect.position = new(101, 1337.5f);
3939
}
4040

4141
public void IncreaseSize()

0 commit comments

Comments
 (0)