mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 03:02: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)
|
if (scores == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
loading.Hide();
|
||||||
|
|
||||||
if (scores.Count() == 0)
|
if (scores.Count() == 0)
|
||||||
{
|
{
|
||||||
placeholderContainer.FadeIn(fade_duration);
|
placeholderContainer.FadeIn(fade_duration);
|
||||||
@ -191,7 +193,6 @@ namespace osu.Game.Screens.Select.Leaderboards
|
|||||||
getScoresRequest.Success += r =>
|
getScoresRequest.Success += r =>
|
||||||
{
|
{
|
||||||
Scores = r.Scores;
|
Scores = r.Scores;
|
||||||
loading.Hide();
|
|
||||||
};
|
};
|
||||||
api.Queue(getScoresRequest);
|
api.Queue(getScoresRequest);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user