Comma seperator in numbers.

This commit is contained in:
Huo Yaoyuan 2016-09-24 10:31:14 +08:00
parent ed4fae53cb
commit ec2bc4720d

View File

@ -81,7 +81,7 @@ namespace osu.Game.Graphics.UserInterface
}, },
countSpriteText = new SpriteText countSpriteText = new SpriteText
{ {
Text = Count.ToString(), Text = Count.ToString(@"#,0"),
Anchor = Anchor.Centre, Anchor = Anchor.Centre,
Origin = Anchor.Centre, Origin = Anchor.Centre,
Position = new Vector2(0, buttonSprite.Height / 4), Position = new Vector2(0, buttonSprite.Height / 4),
@ -113,7 +113,7 @@ namespace osu.Game.Graphics.UserInterface
private void IncreaseCount() private void IncreaseCount()
{ {
Count++; Count++;
countSpriteText.Text = Count.ToString(); countSpriteText.Text = Count.ToString(@"#,0");
} }
} }
} }