1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 12:02:54 +08:00

Remove unnecessary ToMetric avoidance

This commit is contained in:
Dean Herbert 2019-09-19 15:45:43 +09:00
parent 48ee95955b
commit e2f7d4bc62

View File

@ -80,7 +80,7 @@ namespace osu.Game.Online.Leaderboards
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Font = OsuFont.GetFont(size: 20, italics: true),
Text = rank <= 999 ? rank.ToString() : rank.ToMetric(decimals: rank < 100000 ? 1 : 0),
Text = rank.ToMetric(decimals: rank < 100000 ? 1 : 0),
},
},
},