1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-05 17:04:35 +08:00

Move loader hiding to a better place.

This commit is contained in:
naoey
2017-11-20 18:53:50 +05:30
Unverified
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);
}