mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:12:54 +08:00
Adjust hover effect slightly
This commit is contained in:
parent
5b1deb7c4b
commit
8e13f65c5d
@ -111,10 +111,13 @@ namespace osu.Game.Overlays.Settings
|
||||
private void load()
|
||||
{
|
||||
selectionIndicator.Colour = ColourProvider.Highlight1;
|
||||
Hover.Colour = ColourProvider.Light4;
|
||||
}
|
||||
|
||||
protected override void UpdateState()
|
||||
{
|
||||
Hover.FadeTo(IsHovered ? 0.1f : 0, FADE_DURATION, Easing.OutQuint);
|
||||
|
||||
if (Selected)
|
||||
{
|
||||
textIconContent.FadeColour(ColourProvider.Content1, FADE_DURATION, Easing.OutQuint);
|
||||
|
Loading…
Reference in New Issue
Block a user