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
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ public LeaderboardScore(Score score, int rank)
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)),
},
},
},