1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-20 15:20:18 +08:00

Comma seperator in numbers.

This commit is contained in:
Huo Yaoyuan
2016-09-24 10:31:14 +08:00
Unverified
parent ed4fae53cb
commit ec2bc4720d
@@ -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");
}
}
}