mirror of
https://github.com/ppy/osu
synced 2025-01-18 20:10:49 +00:00
Comma seperator in numbers.
This commit is contained in:
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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user