1
0
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:
DrabWeb 2017-09-07 15:01:31 -03:00
parent 5e685ff5b1
commit fd2700a5b4

View File

@ -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.##");
}
}