This repository was archived by the owner on Dec 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
src/UnityExtension/Assets/Editor/GitHub.Unity Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ public const float
2424 CommitAreaDefaultRatio = .4f ,
2525 CommitAreaMaxHeight = 12 * 15f ,
2626 CommitAreaPadding = 5f ,
27+ PublishViewSpacingHeight = 5f ,
2728 MinCommitTreePadding = 20f ,
2829 FoldoutWidth = 11f ,
2930 FoldoutIndentation = - 2f ,
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ public override void OnGUI()
123123 }
124124 GUILayout . EndHorizontal ( ) ;
125125
126- GUILayout . Space ( 5 ) ;
126+ GUILayout . Space ( Styles . PublishViewSpacingHeight ) ;
127127
128128 GUILayout . BeginHorizontal ( ) ;
129129 {
@@ -159,7 +159,7 @@ public override void OnGUI()
159159 GUI . enabled = ! isBusy ;
160160 repoDescription = EditorGUILayout . TextField ( repoDescription ) ;
161161 GUI . enabled = true ;
162- GUILayout . Space ( 5 ) ;
162+ GUILayout . Space ( Styles . PublishViewSpacingHeight ) ;
163163
164164 GUILayout . BeginVertical ( ) ;
165165 {
@@ -173,7 +173,7 @@ public override void OnGUI()
173173
174174 GUILayout . BeginHorizontal ( ) ;
175175 {
176- GUILayout . Space ( 5 ) ;
176+ GUILayout . Space ( Styles . PublishViewSpacingHeight ) ;
177177 var repoPrivacyExplanation = togglePrivate ? PrivateRepoMessage : PublicRepoMessage ;
178178 GUILayout . Label ( repoPrivacyExplanation , Styles . LongMessageStyle ) ;
179179 }
@@ -182,7 +182,7 @@ public override void OnGUI()
182182 GUILayout . EndVertical ( ) ;
183183
184184
185- GUILayout . Space ( 5 ) ;
185+ GUILayout . Space ( Styles . PublishViewSpacingHeight ) ;
186186
187187 if ( error != null )
188188 GUILayout . Label ( error , Styles . ErrorLabel ) ;
You can’t perform that action at this time.
0 commit comments