mirror of
https://github.com/ppy/osu
synced 2025-01-11 00:29:30 +00:00
Fix rank graph tooltip display
This commit is contained in:
parent
5d1ead3109
commit
d3937acfe9
@ -4,6 +4,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Humanizer;
|
||||
using osu.Framework.Bindables;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Game.Graphics;
|
||||
@ -70,8 +71,8 @@ namespace osu.Game.Overlays.Profile.Header.Components
|
||||
|
||||
return new TooltipDisplayContent
|
||||
{
|
||||
Rank = $"#{rank:#,##0}",
|
||||
Time = days == 0 ? "now" : $"{days} days ago"
|
||||
Rank = $"#{rank:N0}",
|
||||
Time = days == 0 ? "now" : $"{"day".ToQuantity(days)} ago"
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user