mirror of
https://github.com/ppy/osu
synced 2024-12-29 10:22:43 +00:00
Update dropdown disabled state to match with other components
This commit is contained in:
parent
150bf67064
commit
c147ec0a98
@ -384,6 +384,9 @@ namespace osu.Game.Graphics.UserInterface
|
||||
var hoveredColour = colourProvider?.Light4 ?? colours.PinkDarker;
|
||||
var unhoveredColour = colourProvider?.Background5 ?? Color4.Black.Opacity(0.5f);
|
||||
|
||||
Colour = Color4.White;
|
||||
Alpha = Enabled.Value ? 1 : 0.3f;
|
||||
|
||||
if (SearchBar.State.Value == Visibility.Visible)
|
||||
{
|
||||
Icon.Colour = hovered ? hoveredColour.Lighten(0.5f) : Colour4.White;
|
||||
|
Loading…
Reference in New Issue
Block a user