Skip to content

Commit 7f6c2a5

Browse files
committed
refactor: make doors menu smaller
Decreases the DoorsUI width and height and removes the redundant "Status: " text next to each room name. This declutters the menu slightly.
1 parent 887ae49 commit 7f6c2a5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/UI/DoorsUI.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace MalumMenu;
55

66
public class DoorsUI : MonoBehaviour
77
{
8-
private Rect _windowRect = new(320, 10, 530, 280);
8+
private Rect _windowRect = new(320, 10, 480, 270);
99
private List<SystemTypes> doorsToSpamOpen = new();
1010
private List<SystemTypes> doorsToSpamClose = new();
1111

@@ -42,10 +42,10 @@ private void DoorsWindow(int windowID)
4242
foreach (var doorRoom in DoorsHandler.GetDoorRooms())
4343
{
4444
GUILayout.BeginHorizontal();
45-
GUILayout.Label($"{doorRoom.ToString()}", GUILayout.Width(120f));
45+
GUILayout.Label($"{doorRoom.ToString()}", GUILayout.Width(110f));
4646

4747
GUILayout.BeginHorizontal();
48-
GUILayout.Label($"Status: {DoorsHandler.GetStatusOfDoorsInRoom(doorRoom, true)}");
48+
GUILayout.Label($"{DoorsHandler.GetStatusOfDoorsInRoom(doorRoom, true)}");
4949

5050
GUILayout.FlexibleSpace();
5151

0 commit comments

Comments
 (0)