mirror of
https://github.com/ppy/osu.git
synced 2025-03-14 07:47:23 +08:00
Use consistent decimal places in BeatmapAttributeText
This commit is contained in:
parent
2c0140f865
commit
37394a5027
@ -211,19 +211,19 @@ namespace osu.Game.Skinning.Components
|
||||
return beatmap.Value.BeatmapInfo.Status.GetLocalisableDescription();
|
||||
|
||||
case BeatmapAttribute.BPM:
|
||||
return FormatUtils.RoundBPM(beatmap.Value.BeatmapInfo.BPM, ModUtils.CalculateRateWithMods(mods.Value)).ToLocalisableString(@"F2");
|
||||
return FormatUtils.RoundBPM(beatmap.Value.BeatmapInfo.BPM, ModUtils.CalculateRateWithMods(mods.Value)).ToLocalisableString(@"0.##");
|
||||
|
||||
case BeatmapAttribute.CircleSize:
|
||||
return computeDifficulty().CircleSize.ToLocalisableString(@"F2");
|
||||
return computeDifficulty().CircleSize.ToLocalisableString(@"0.##");
|
||||
|
||||
case BeatmapAttribute.HPDrain:
|
||||
return computeDifficulty().DrainRate.ToLocalisableString(@"F2");
|
||||
return computeDifficulty().DrainRate.ToLocalisableString(@"0.##");
|
||||
|
||||
case BeatmapAttribute.Accuracy:
|
||||
return computeDifficulty().OverallDifficulty.ToLocalisableString(@"F2");
|
||||
return computeDifficulty().OverallDifficulty.ToLocalisableString(@"0.##");
|
||||
|
||||
case BeatmapAttribute.ApproachRate:
|
||||
return computeDifficulty().ApproachRate.ToLocalisableString(@"F2");
|
||||
return computeDifficulty().ApproachRate.ToLocalisableString(@"0.##");
|
||||
|
||||
case BeatmapAttribute.StarRating:
|
||||
return (starDifficulty?.Stars ?? 0).ToLocalisableString(@"F2");
|
||||
|
Loading…
x
Reference in New Issue
Block a user