1
0
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:
Dean Herbert 2023-12-27 02:46:21 +09:00
parent 5b1deb7c4b
commit 8e13f65c5d
No known key found for this signature in database

View File

@ -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);