1
0
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:
naoey 2017-11-20 18:53:50 +05:30
parent a58bd72c6e
commit 487483eadd

View File

@ -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);
}