mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 05:22:54 +08:00
Simply condition
Co-authored-by: Dean Herbert <pe@ppy.sh>
This commit is contained in:
parent
e0383f6100
commit
4d6b52a0d6
@ -350,7 +350,8 @@ namespace osu.Game.Online.Leaderboards
|
||||
{
|
||||
public RankLabel(int? rank)
|
||||
{
|
||||
TooltipText = rank == null || rank < 1000 ? null : $"#{rank:N0}";
|
||||
if (rank >= 1000)
|
||||
TooltipText = $"#{rank:N0}";
|
||||
|
||||
Child = new OsuSpriteText
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user