mirror of https://github.com/ppy/osu
Add number sign in front of profile rankings
This commit is contained in:
parent
4201cbf810
commit
3cd6ccfc3d
|
@ -188,7 +188,7 @@ private Vector2 calculateBallPosition(int index)
|
|||
}
|
||||
}
|
||||
|
||||
public string TooltipText => User.Value?.Statistics?.Ranks.Global == null ? "" : $"{ranks[dayIndex].Value:#,##0}|{ranked_days - ranks[dayIndex].Key + 1}";
|
||||
public string TooltipText => User.Value?.Statistics?.Ranks.Global == null ? "" : $"#{ranks[dayIndex].Value:#,##0}|{ranked_days - ranks[dayIndex].Key + 1}";
|
||||
|
||||
public ITooltip GetCustomTooltip() => new RankGraphTooltip();
|
||||
|
||||
|
|
|
@ -148,8 +148,8 @@ private void updateDisplay(User user)
|
|||
foreach (var scoreRankInfo in scoreRankInfos)
|
||||
scoreRankInfo.Value.RankCount = user?.Statistics?.GradesCount[scoreRankInfo.Key] ?? 0;
|
||||
|
||||
detailGlobalRank.Content = user?.Statistics?.Ranks.Global?.ToString("#,##0") ?? "-";
|
||||
detailCountryRank.Content = user?.Statistics?.Ranks.Country?.ToString("#,##0") ?? "-";
|
||||
detailGlobalRank.Content = $"#{user?.Statistics?.Ranks.Global?.ToString("#,##0")}" ?? "-";
|
||||
detailCountryRank.Content = $"#{user?.Statistics?.Ranks.Country?.ToString("#,##0")}" ?? "-";
|
||||
|
||||
rankGraph.User.Value = user;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue