mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Reduce isLoading calls
This commit is contained in:
@ -105,22 +105,16 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
|
||||
flow.Clear();
|
||||
|
||||
if (scoresAmount < 2)
|
||||
{
|
||||
IsLoading = false;
|
||||
return;
|
||||
}
|
||||
|
||||
for (int i = 1; i < scoresAmount; i++)
|
||||
flow.Add(new DrawableScore(i, scores.ElementAt(i)));
|
||||
|
||||
IsLoading = false;
|
||||
}
|
||||
|
||||
public void CleanAllScores()
|
||||
{
|
||||
topScore.Hide();
|
||||
flow.Clear();
|
||||
IsLoading = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user