mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 17:47:29 +08:00
Fix incorrectly displaying minimum value in placeholder messaging
This commit is contained in:
parent
4ea7ca4c07
commit
9ead5e59d3
@ -127,7 +127,7 @@ namespace osu.Game.Screens.Select
|
||||
config.SetValue(OsuSetting.DisplayStarsMaximum, 10.1);
|
||||
});
|
||||
|
||||
string lowerStar = filter.UserStarDifficulty.Min == null ? "0,0" : $"{filter.UserStarDifficulty.Min:N1}";
|
||||
string lowerStar = $"{filter.UserStarDifficulty.Min ?? 0:N1}";
|
||||
string upperStar = filter.UserStarDifficulty.Max == null ? "∞" : $"{filter.UserStarDifficulty.Max:N1}";
|
||||
|
||||
textFlow.AddText($" the {lowerStar} - {upperStar} star difficulty filter.");
|
||||
|
Loading…
Reference in New Issue
Block a user