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
24
24
CommitAreaDefaultRatio = .4f ,
25
25
CommitAreaMaxHeight = 12 * 15f ,
26
26
CommitAreaPadding = 5f ,
27
+ PublishViewSpacingHeight = 5f ,
27
28
MinCommitTreePadding = 20f ,
28
29
FoldoutWidth = 11f ,
29
30
FoldoutIndentation = - 2f ,
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ public override void OnGUI()
123
123
}
124
124
GUILayout . EndHorizontal ( ) ;
125
125
126
- GUILayout . Space ( 5 ) ;
126
+ GUILayout . Space ( Styles . PublishViewSpacingHeight ) ;
127
127
128
128
GUILayout . BeginHorizontal ( ) ;
129
129
{
@@ -159,7 +159,7 @@ public override void OnGUI()
159
159
GUI . enabled = ! isBusy ;
160
160
repoDescription = EditorGUILayout . TextField ( repoDescription ) ;
161
161
GUI . enabled = true ;
162
- GUILayout . Space ( 5 ) ;
162
+ GUILayout . Space ( Styles . PublishViewSpacingHeight ) ;
163
163
164
164
GUILayout . BeginVertical ( ) ;
165
165
{
@@ -173,7 +173,7 @@ public override void OnGUI()
173
173
174
174
GUILayout . BeginHorizontal ( ) ;
175
175
{
176
- GUILayout . Space ( 5 ) ;
176
+ GUILayout . Space ( Styles . PublishViewSpacingHeight ) ;
177
177
var repoPrivacyExplanation = togglePrivate ? PrivateRepoMessage : PublicRepoMessage ;
178
178
GUILayout . Label ( repoPrivacyExplanation , Styles . LongMessageStyle ) ;
179
179
}
@@ -182,7 +182,7 @@ public override void OnGUI()
182
182
GUILayout . EndVertical ( ) ;
183
183
184
184
185
- GUILayout . Space ( 5 ) ;
185
+ GUILayout . Space ( Styles . PublishViewSpacingHeight ) ;
186
186
187
187
if ( error != null )
188
188
GUILayout . Label ( error , Styles . ErrorLabel ) ;
You can’t perform that action at this time.
0 commit comments