Add to more places

This commit is contained in:
smoogipoo
2020-08-28 22:51:48 +09:00
parent ec2674e1ea
commit c1838902a6
4 changed files with 45 additions and 11 deletions

View File

@ -30,6 +30,9 @@ namespace osu.Game.Screens.Ranking.Contracted
{
private readonly ScoreInfo score;
[Resolved]
private ScoreManager scoreManager { get; set; }
/// <summary>
/// Creates a new <see cref="ContractedPanelMiddleContent"/>.
/// </summary>
@ -160,7 +163,7 @@ namespace osu.Game.Screens.Ranking.Contracted
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Text = score.TotalScore.ToString("N0"),
Current = scoreManager.GetTotalScoreString(score),
Font = OsuFont.GetFont(size: 20, weight: FontWeight.Medium, fixedWidth: true),
Spacing = new Vector2(-1, 0)
},