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:
parent
6deac9a5a4
commit
4bc36a6c90
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user