mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 20:47:51 +08:00
Add commas to score counter.
This commit is contained in:
parent
3aefd50239
commit
2bb50ff082
@ -48,7 +48,10 @@ namespace osu.Game.Graphics.UserInterface
|
||||
|
||||
protected override string FormatCount(double count)
|
||||
{
|
||||
return ((long)count).ToString("D" + LeadingZeroes);
|
||||
string s = ((long)count).ToString("D" + LeadingZeroes);
|
||||
for (int i = s.Length - 3; i > 0; i -= 3)
|
||||
s = s.Insert(i, ",");
|
||||
return s;
|
||||
}
|
||||
|
||||
public override void Increment(double amount)
|
||||
|
Loading…
Reference in New Issue
Block a user