Skip to content

Commit ec2bc47

Browse files
committedSep 24, 2016
Comma seperator in numbers.
1 parent ed4fae5 commit ec2bc47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎osu.Game/Graphics/UserInterface/KeyCounter.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public override void Load()
8181
},
8282
countSpriteText = new SpriteText
8383
{
84-
Text = Count.ToString(),
84+
Text = Count.ToString(@"#,0"),
8585
Anchor = Anchor.Centre,
8686
Origin = Anchor.Centre,
8787
Position = new Vector2(0, buttonSprite.Height / 4),
@@ -113,7 +113,7 @@ private void UpdateGlowSprite()
113113
private void IncreaseCount()
114114
{
115115
Count++;
116-
countSpriteText.Text = Count.ToString();
116+
countSpriteText.Text = Count.ToString(@"#,0");
117117
}
118118
}
119119
}

0 commit comments

Comments
 (0)
Please sign in to comment.