Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 6bf5129

Browse files
Moving IsBusy to the end of the file
1 parent 6e0915d commit 6bf5129

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/UnityExtension/Assets/Editor/GitHub.Unity/UI/PopupWindow.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,6 @@ public override void OnSelectionChange()
9393
ActiveView.OnSelectionChange();
9494
}
9595

96-
public override bool IsBusy
97-
{
98-
get { return ActiveView.IsBusy; }
99-
}
100-
10196
public override void Finish(bool result)
10297
{
10398
OnClose.SafeInvoke(result);
@@ -134,5 +129,10 @@ private PopupViewType ActiveViewType
134129
get { return activeViewType; }
135130
set { activeViewType = value; }
136131
}
132+
133+
public override bool IsBusy
134+
{
135+
get { return ActiveView.IsBusy; }
136+
}
137137
}
138138
}

src/UnityExtension/Assets/Editor/GitHub.Unity/UI/SettingsView.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,6 @@ public override void OnRepositoryChanged(IRepository oldRepository)
9797
Refresh();
9898
}
9999

100-
public override bool IsBusy
101-
{
102-
get { return isBusy || userSettingsView.IsBusy; }
103-
}
104-
105100
public override void Refresh()
106101
{
107102
base.Refresh();
@@ -464,5 +459,10 @@ private void OnLoggingSettingsGui()
464459
}
465460
EditorGUI.EndDisabledGroup();
466461
}
462+
463+
public override bool IsBusy
464+
{
465+
get { return isBusy || userSettingsView.IsBusy; }
466+
}
467467
}
468468
}

0 commit comments

Comments
 (0)