1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 09:02:55 +08:00
This commit is contained in:
Shane Woolcock 2017-10-21 17:06:28 +10:30
parent f5946c0e07
commit 59b10981dc

View File

@ -184,7 +184,7 @@ namespace osu.Game.Overlays.Settings
internal void UpdateState()
{
var colour = Bindable.Disabled ? Color4.Gray : indicatorColour;
Alpha = Bindable.IsDefault ? 0f : (hovering && !Bindable.Disabled) ? 1f : 0.5f;
Alpha = Bindable.IsDefault ? 0f : hovering && !Bindable.Disabled ? 1f : 0.5f;
Colour = ColourInfo.GradientHorizontal(colour.Opacity(0.8f), colour.Opacity(0));
}
}