mirror of
https://github.com/ppy/osu
synced 2025-02-17 19:07:07 +00:00
Persist nulls to the top score bindable
This commit is contained in:
parent
7a6e02c558
commit
bff652a26f
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user