1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 23:03:21 +08:00

Highlight max combo on beatmap leaderboards

This commit is contained in:
TheWildTree 2020-02-19 17:58:59 +01:00
parent 23c9782f50
commit 7ea67aa672

View File

@ -146,7 +146,8 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
new OsuSpriteText new OsuSpriteText
{ {
Text = $@"{score.MaxCombo:N0}x", Text = $@"{score.MaxCombo:N0}x",
Font = OsuFont.GetFont(size: text_size) Font = OsuFont.GetFont(size: text_size),
Colour = score.MaxCombo == score.Beatmap.MaxCombo ? highAccuracyColour : Color4.White
} }
}); });