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);
|
||||
break;
|
||||
}
|
||||
|
||||
loading.Show();
|
||||
}
|
||||
|
||||
private void recreatePanels(PanelDisplayStyle displayStyle)
|
||||
{
|
||||
clearPanels();
|
||||
|
||||
loading.Show();
|
||||
|
||||
if (Users == null)
|
||||
{
|
||||
loading.Hide();
|
||||
|
@ -178,8 +174,6 @@ private void recreatePanels(PanelDisplayStyle displayStyle)
|
|||
|
||||
private void updateUsers(IEnumerable<User> newUsers)
|
||||
{
|
||||
loading.Show();
|
||||
|
||||
var sortDirection = Filter.DisplayStyleControl.Dropdown.Current.Value;
|
||||
|
||||
IEnumerable<User> sortedUsers = newUsers;
|
||||
|
@ -218,6 +212,8 @@ private void onDropdownChanged()
|
|||
|
||||
private void clearPanels()
|
||||
{
|
||||
loading.Show();
|
||||
|
||||
if (panels != null)
|
||||
{
|
||||
panels.Expire();
|
||||
|
|
Loading…
Reference in New Issue