This repository was archived by the owner on Dec 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/UnityExtension/Assets/Editor/GitHub.Unity Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -167,26 +167,25 @@ private void OnGUI()
167
167
{
168
168
GUILayout . Space ( 20 ) ;
169
169
170
+ scrollPos = EditorGUILayout . BeginScrollView ( scrollPos , GUILayout . Width ( 405 ) , GUILayout . Height ( 200 ) ) ;
170
171
if ( hasMessage )
171
172
{
172
- scrollPos = EditorGUILayout . BeginScrollView ( scrollPos , GUILayout . Width ( 405 ) , GUILayout . Height ( 200 ) ) ;
173
173
EditorGUILayout . LabelField ( guiPackageMessage , "WordWrappedLabel" ) ;
174
- EditorGUILayout . EndScrollView ( ) ;
175
174
}
176
175
177
176
if ( hasReleaseNotes )
178
177
{
179
- scrollPos = EditorGUILayout . BeginScrollView ( scrollPos , GUILayout . Width ( 405 ) , GUILayout . Height ( 200 ) ) ;
180
178
EditorGUILayout . LabelField ( guiPackageReleaseNotes , "WordWrappedLabel" ) ;
181
- EditorGUILayout . EndScrollView ( ) ;
182
179
}
180
+ EditorGUILayout . EndScrollView ( ) ;
183
181
}
184
182
185
183
GUILayout . Space ( 20 ) ;
186
184
EditorGUILayout . BeginHorizontal ( ) ;
187
185
if ( GUILayout . Button ( guiDownloadNewVersion , GUILayout . Width ( 200 ) ) )
188
186
{
189
187
Help . BrowseURL ( package . Package . Url ) ;
188
+ Close ( ) ;
190
189
}
191
190
192
191
if ( GUILayout . Button ( guiSkipThisVersion , GUILayout . Width ( 200 ) ) )
You can’t perform that action at this time.
0 commit comments