1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 16:43:00 +08:00

Fix unused variable

This commit is contained in:
Bartłomiej Dach 2023-11-06 12:18:02 +01:00
parent 6deac9a5a4
commit 4bc36a6c90
No known key found for this signature in database

View File

@ -109,11 +109,11 @@ namespace osu.Game.Rulesets.UI
var modTypeColour = colours.ForModType(Mod.Type);
inactiveBackgroundColour = colourProvider?.Background5 ?? colours.Gray3;
activeBackgroundColour = colours.ForModType(Mod.Type);
activeBackgroundColour = modTypeColour;
inactiveForegroundColour = colourProvider?.Background2 ?? colours.Gray5;
activeForegroundColour = Mod.Type != ModType.System
? Interpolation.ValueAt<Colour4>(0.1f, Colour4.Black, activeForegroundColour, 0, 1)
? Interpolation.ValueAt<Colour4>(0.1f, Colour4.Black, modTypeColour, 0, 1)
: colours.Yellow;
}