mirror of
https://github.com/ppy/osu.git
synced 2025-01-29 02:52:54 +08:00
Don't highlight top score
This commit is contained in:
parent
8cf26979fb
commit
61d580b6ba
@ -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 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
|
||||
|
@ -14,8 +14,8 @@ namespace osu.Game.Screens.Multi.Match.Components
|
||||
{
|
||||
private readonly APIUserScoreAggregate score;
|
||||
|
||||
public MatchLeaderboardScore(APIUserScoreAggregate score, int rank)
|
||||
: base(score.CreateScoreInfo(), rank)
|
||||
public MatchLeaderboardScore(APIUserScoreAggregate score, int rank, bool allowHighlight = true)
|
||||
: base(score.CreateScoreInfo(), rank, allowHighlight)
|
||||
{
|
||||
this.score = score;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user