mirror of
https://github.com/osukey/osukey.git
synced 2025-06-07 12:28:02 +09: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)
|
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)
|
public override void Increment(double amount)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user