1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 21:47:25 +08:00

Format accuracy better in LeaderboardScores.

This commit is contained in:
Dean Herbert 2017-04-19 16:03:00 +09:00
parent 2783f49267
commit afcd7d7fa0
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49

View File

@ -204,7 +204,7 @@ namespace osu.Game.Screens.Select.Leaderboards
Children = new Drawable[]
{
maxCombo = new ScoreComponentLabel(FontAwesome.fa_link, Score.MaxCombo.ToString()),
accuracy = new ScoreComponentLabel(FontAwesome.fa_crosshairs, string.Format(Score.Accuracy % 1 == 0 ? @"{0:0}" : @"{0:0.00}", Score.Accuracy)),
accuracy = new ScoreComponentLabel(FontAwesome.fa_crosshairs, string.Format(Score.Accuracy % 1 == 0 ? @"{0:P0}" : @"{0:P2}", Score.Accuracy)),
},
},
},