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