Reduce isLoading calls

This commit is contained in:
EVAST9919
2017-11-13 18:49:10 +03:00
parent d157e6baf1
commit fa6d3f9792
2 changed files with 7 additions and 10 deletions

View File

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