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 +12
-15
lines changed
src/UnityExtension/Assets/Editor/GitHub.Unity/UI Expand file tree Collapse file tree 1 file changed +12
-15
lines changed Original file line number Diff line number Diff line change @@ -59,28 +59,25 @@ public override void OnGUI()
59
59
EditorGUI . BeginDisabledGroup ( IsBusy || Parent . IsBusy ) ;
60
60
{
61
61
// Install path field
62
- //EditorGUI.BeginChangeCheck ();
62
+ GUILayout . BeginHorizontal ( ) ;
63
63
{
64
- GUILayout . BeginHorizontal ( ) ;
65
- {
66
- newGitExec = EditorGUILayout . TextField ( PathToGit , newGitExec ) ;
64
+ newGitExec = EditorGUILayout . TextField ( PathToGit , newGitExec ) ;
67
65
68
- if ( GUILayout . Button ( BrowseButton , EditorStyles . miniButton , GUILayout . Width ( 25 ) ) )
69
- {
70
- GUI . FocusControl ( null ) ;
66
+ if ( GUILayout . Button ( BrowseButton , EditorStyles . miniButton , GUILayout . Width ( 25 ) ) )
67
+ {
68
+ GUI . FocusControl ( null ) ;
71
69
72
- var newValue = EditorUtility . OpenFilePanel ( GitInstallBrowseTitle ,
73
- gitExecParent ,
74
- gitExecExtension ) ;
70
+ var newValue = EditorUtility . OpenFilePanel ( GitInstallBrowseTitle ,
71
+ gitExecParent ,
72
+ gitExecExtension ) ;
75
73
76
- if ( ! string . IsNullOrEmpty ( newValue ) )
77
- {
78
- newGitExec = newValue ;
79
- }
74
+ if ( ! string . IsNullOrEmpty ( newValue ) )
75
+ {
76
+ newGitExec = newValue ;
80
77
}
81
78
}
82
- GUILayout . EndHorizontal ( ) ;
83
79
}
80
+ GUILayout . EndHorizontal ( ) ;
84
81
85
82
GUILayout . Space ( EditorGUIUtility . standardVerticalSpacing ) ;
86
83
You can’t perform that action at this time.
0 commit comments