Fix StarRatingDisplay not handling negative numbers as "pending"

This commit is contained in:
Dean Herbert
2022-07-25 15:44:54 +09:00
parent fa1bc0fe0e
commit 6bf2645b1a
2 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@ namespace osu.Game.Beatmaps.Drawables
displayedStars.BindValueChanged(s =>
{
starsText.Text = s.NewValue.ToLocalisableString("0.00");
starsText.Text = s.NewValue < 0 ? "-" : s.NewValue.ToLocalisableString("0.00");
background.Colour = colours.ForStarDifficulty(s.NewValue);