mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 22:33:05 +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);
|
var modTypeColour = colours.ForModType(Mod.Type);
|
||||||
|
|
||||||
inactiveBackgroundColour = colourProvider?.Background5 ?? colours.Gray3;
|
inactiveBackgroundColour = colourProvider?.Background5 ?? colours.Gray3;
|
||||||
activeBackgroundColour = colours.ForModType(Mod.Type);
|
activeBackgroundColour = modTypeColour;
|
||||||
|
|
||||||
inactiveForegroundColour = colourProvider?.Background2 ?? colours.Gray5;
|
inactiveForegroundColour = colourProvider?.Background2 ?? colours.Gray5;
|
||||||
activeForegroundColour = Mod.Type != ModType.System
|
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;
|
: colours.Yellow;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user