@@ -12,7 +12,6 @@ namespace GitHub.Unity
12
12
[ Serializable ]
13
13
class InitProjectView : Subview
14
14
{
15
- private const string NoRepoTitle = "No Git repository found for this project" ;
16
15
private const string NoRepoDescription = "Initialize a Git repository to track changes and collaborate with others." ;
17
16
18
17
[ SerializeField ] private bool isBusy ;
@@ -32,35 +31,6 @@ public override void OnRepositoryChanged(IRepository oldRepository)
32
31
33
32
public override void OnGUI ( )
34
33
{
35
- var headerRect = EditorGUILayout . BeginHorizontal ( Styles . HeaderBoxStyle ) ;
36
- {
37
- GUILayout . Space ( 5 ) ;
38
- GUILayout . BeginVertical ( GUILayout . Width ( 16 ) ) ;
39
- {
40
- GUILayout . Space ( 5 ) ;
41
-
42
- var iconRect = GUILayoutUtility . GetRect ( new GUIContent ( Styles . BigLogo ) , GUIStyle . none , GUILayout . Height ( 20 ) , GUILayout . Width ( 20 ) ) ;
43
- iconRect . y = headerRect . center . y - ( iconRect . height / 2 ) ;
44
- GUI . DrawTexture ( iconRect , Styles . BigLogo , ScaleMode . ScaleToFit ) ;
45
-
46
- GUILayout . Space ( 5 ) ;
47
- }
48
- GUILayout . EndVertical ( ) ;
49
-
50
- GUILayout . Space ( 5 ) ;
51
-
52
- GUILayout . BeginVertical ( ) ;
53
- {
54
- var headerContent = new GUIContent ( NoRepoTitle ) ;
55
- var headerTitleRect = GUILayoutUtility . GetRect ( headerContent , Styles . HeaderTitleStyle ) ;
56
- headerTitleRect . y = headerRect . center . y - ( headerTitleRect . height / 2 ) ;
57
-
58
- GUI . Label ( headerTitleRect , headerContent , Styles . HeaderTitleStyle ) ;
59
- }
60
- GUILayout . EndVertical ( ) ;
61
- }
62
- EditorGUILayout . EndHorizontal ( ) ;
63
-
64
34
GUILayout . BeginVertical ( Styles . GenericBoxStyle ) ;
65
35
{
66
36
GUILayout . FlexibleSpace ( ) ;
0 commit comments