1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 05:42:54 +08:00

Make a few more strings literals.

This commit is contained in:
Dean Herbert 2017-03-15 19:21:55 +09:00
parent f2cfcdb2ca
commit 56868e3c06
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49

View File

@ -212,7 +212,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:0}" : @"{0:0.00}", Score.Accuracy)),
},
},
},
@ -226,7 +226,7 @@ namespace osu.Game.Screens.Select.Leaderboards
Size = new Vector2(score_rank_size),
Position = new Vector2(0f, -10f),
},
scoreLabel = new GlowingSpriteText(Score.TotalScore.ToString("N0"), @"Venera", 23, Color4.White, OsuColour.FromHex(@"83ccfa"))
scoreLabel = new GlowingSpriteText(Score.TotalScore.ToString(@"N0"), @"Venera", 23, Color4.White, OsuColour.FromHex(@"83ccfa"))
{
Anchor = Anchor.TopRight,
Origin = Anchor.TopRight,