mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 17:13:06 +08:00
Minor adjustments
This commit is contained in:
parent
ecf0e62484
commit
19680c8df8
@ -41,7 +41,7 @@ namespace osu.Game.Tests.Visual.SongSelect
|
||||
}
|
||||
});
|
||||
|
||||
APILegacyUserTopScoreInfo[] scores = new[]
|
||||
var scores = new APILegacyUserTopScoreInfo[]
|
||||
{
|
||||
new APILegacyUserTopScoreInfo
|
||||
{
|
||||
|
@ -63,13 +63,14 @@ namespace osu.Game.Screens.Select.Details
|
||||
|
||||
private void onScoreChanged(APILegacyUserTopScoreInfo score)
|
||||
{
|
||||
scoreContainer.Clear();
|
||||
|
||||
if (score != null)
|
||||
{
|
||||
scoreContainer.Clear();
|
||||
scoreContainer.Add(new LeaderboardScore(score.Score, score.Position));
|
||||
Show();
|
||||
}
|
||||
else
|
||||
Hide();
|
||||
}
|
||||
|
||||
protected override void PopIn()
|
||||
|
Loading…
Reference in New Issue
Block a user