mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 23:22:55 +08:00
Fix .00 being displayed for star difficulty when the value is 0.
This commit is contained in:
parent
5e685ff5b1
commit
fd2700a5b4
@ -95,7 +95,7 @@ namespace osu.Game.Screens.Select.Details
|
||||
{
|
||||
difficultyValue = value;
|
||||
bar.Length = value / maxValue;
|
||||
this.value.Text = value.ToString(forceDecimalPlaces ? "#.00" : "0.##");
|
||||
this.value.Text = value.ToString(forceDecimalPlaces ? "0.00" : "0.##");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user