mirror of
https://github.com/ppy/osu.git
synced 2025-02-19 05:22:54 +08:00
Move loader hiding to a better place.
This commit is contained in:
parent
a58bd72c6e
commit
487483eadd
@ -52,6 +52,8 @@ namespace osu.Game.Screens.Select.Leaderboards
|
||||
if (scores == null)
|
||||
return;
|
||||
|
||||
loading.Hide();
|
||||
|
||||
if (scores.Count() == 0)
|
||||
{
|
||||
placeholderContainer.FadeIn(fade_duration);
|
||||
@ -191,7 +193,6 @@ namespace osu.Game.Screens.Select.Leaderboards
|
||||
getScoresRequest.Success += r =>
|
||||
{
|
||||
Scores = r.Scores;
|
||||
loading.Hide();
|
||||
};
|
||||
api.Queue(getScoresRequest);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user