mirror of
https://github.com/osukey/osukey.git
synced 2025-05-16 11:07:35 +09: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
|
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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user