1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 19:27:24 +08:00

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