mirror of https://github.com/ppy/osu
Remove a lot of loading animation calls
This commit is contained in:
parent
f9841369e8
commit
11df8c5576
|
@ -122,16 +122,12 @@ private void updateSearch()
|
||||||
API.Queue(getUsersRequest = userRequest);
|
API.Queue(getUsersRequest = userRequest);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
loading.Show();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void recreatePanels(PanelDisplayStyle displayStyle)
|
private void recreatePanels(PanelDisplayStyle displayStyle)
|
||||||
{
|
{
|
||||||
clearPanels();
|
clearPanels();
|
||||||
|
|
||||||
loading.Show();
|
|
||||||
|
|
||||||
if (Users == null)
|
if (Users == null)
|
||||||
{
|
{
|
||||||
loading.Hide();
|
loading.Hide();
|
||||||
|
@ -178,8 +174,6 @@ private void recreatePanels(PanelDisplayStyle displayStyle)
|
||||||
|
|
||||||
private void updateUsers(IEnumerable<User> newUsers)
|
private void updateUsers(IEnumerable<User> newUsers)
|
||||||
{
|
{
|
||||||
loading.Show();
|
|
||||||
|
|
||||||
var sortDirection = Filter.DisplayStyleControl.Dropdown.Current.Value;
|
var sortDirection = Filter.DisplayStyleControl.Dropdown.Current.Value;
|
||||||
|
|
||||||
IEnumerable<User> sortedUsers = newUsers;
|
IEnumerable<User> sortedUsers = newUsers;
|
||||||
|
@ -218,6 +212,8 @@ private void onDropdownChanged()
|
||||||
|
|
||||||
private void clearPanels()
|
private void clearPanels()
|
||||||
{
|
{
|
||||||
|
loading.Show();
|
||||||
|
|
||||||
if (panels != null)
|
if (panels != null)
|
||||||
{
|
{
|
||||||
panels.Expire();
|
panels.Expire();
|
||||||
|
|
Loading…
Reference in New Issue