Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 6482545

Browse files
committed
🔥 extra cruft from auth view
1 parent a2859d1 commit 6482545

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

src/UnityExtension/Assets/Editor/GitHub.Unity/UI/AuthenticationView.cs

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -59,28 +59,11 @@ public override void OnGUI()
5959

6060
scroll = GUILayout.BeginScrollView(scroll);
6161
{
62-
Rect authHeader = EditorGUILayout.BeginHorizontal(Styles.AuthHeaderBoxStyle);
62+
GUILayout.BeginHorizontal(Styles.AuthHeaderBoxStyle);
6363
{
64-
GUILayout.BeginVertical(GUILayout.Width(16));
65-
{
66-
GUILayout.Space(9);
67-
GUILayout.Label(Styles.BigLogo, GUILayout.Height(20), GUILayout.Width(20));
68-
}
69-
GUILayout.EndVertical();
70-
71-
GUILayout.BeginVertical();
72-
{
73-
GUILayout.Space(11);
74-
GUILayout.Label(AuthTitle, Styles.HeaderRepoLabelStyle);
75-
}
76-
GUILayout.EndVertical();
64+
GUILayout.Label(AuthTitle, Styles.HeaderRepoLabelStyle);
7765
}
78-
7966
GUILayout.EndHorizontal();
80-
EditorGUI.DrawRect(
81-
new Rect(authHeader.x, authHeader.yMax, authHeader.xMax, 1),
82-
new Color(0.455F, 0.455F, 0.455F, 1F)
83-
);
8467

8568
GUILayout.BeginVertical(Styles.GenericBoxStyle);
8669
{

0 commit comments

Comments
 (0)