mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 03:25:11 +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
|
new APILegacyUserTopScoreInfo
|
||||||
{
|
{
|
||||||
|
@ -63,13 +63,14 @@ namespace osu.Game.Screens.Select.Details
|
|||||||
|
|
||||||
private void onScoreChanged(APILegacyUserTopScoreInfo score)
|
private void onScoreChanged(APILegacyUserTopScoreInfo score)
|
||||||
{
|
{
|
||||||
scoreContainer.Clear();
|
|
||||||
|
|
||||||
if (score != null)
|
if (score != null)
|
||||||
{
|
{
|
||||||
|
scoreContainer.Clear();
|
||||||
scoreContainer.Add(new LeaderboardScore(score.Score, score.Position));
|
scoreContainer.Add(new LeaderboardScore(score.Score, score.Position));
|
||||||
Show();
|
Show();
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
Hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void PopIn()
|
protected override void PopIn()
|
||||||
|
Loading…
Reference in New Issue
Block a user