Don't highlight top score

This commit is contained in:
smoogipoo
2020-08-31 20:17:23 +09:00
parent 8cf26979fb
commit 61d580b6ba
2 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ namespace osu.Game.Screens.Multi.Match.Components
protected override LeaderboardScore CreateDrawableScore(APIUserScoreAggregate model, int index) => new MatchLeaderboardScore(model, index); protected override LeaderboardScore CreateDrawableScore(APIUserScoreAggregate model, int index) => new MatchLeaderboardScore(model, index);
protected override LeaderboardScore CreateDrawableTopScore(APIUserScoreAggregate model) => new MatchLeaderboardScore(model, model.Position ?? 0); protected override LeaderboardScore CreateDrawableTopScore(APIUserScoreAggregate model) => new MatchLeaderboardScore(model, model.Position ?? 0, false);
} }
public enum MatchLeaderboardScope public enum MatchLeaderboardScope

View File

@ -14,8 +14,8 @@ namespace osu.Game.Screens.Multi.Match.Components
{ {
private readonly APIUserScoreAggregate score; private readonly APIUserScoreAggregate score;
public MatchLeaderboardScore(APIUserScoreAggregate score, int rank) public MatchLeaderboardScore(APIUserScoreAggregate score, int rank, bool allowHighlight = true)
: base(score.CreateScoreInfo(), rank) : base(score.CreateScoreInfo(), rank, allowHighlight)
{ {
this.score = score; this.score = score;
} }