Persist nulls to the top score bindable

This commit is contained in:
smoogipoo 2020-09-02 14:29:46 +09:00
parent 7a6e02c558
commit bff652a26f

View File

@ -93,13 +93,12 @@ namespace osu.Game.Online.Leaderboards
get => topScoreContainer.Score.Value;
set
{
topScoreContainer.Score.Value = value;
if (value == null)
topScoreContainer.Hide();
else
{
topScoreContainer.Show();
topScoreContainer.Score.Value = value;
}
}
}