mirror of
https://github.com/osukey/osukey.git
synced 2025-06-08 12:58:01 +09:00
Fix hovered osu tab items not showing hover state when deselected
This commit is contained in:
parent
2ad7e6ca88
commit
393ee1c9f5
@ -123,8 +123,8 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
|
|
||||||
protected void FadeUnhovered()
|
protected void FadeUnhovered()
|
||||||
{
|
{
|
||||||
Bar.FadeOut(transition_length, Easing.OutQuint);
|
Bar.FadeTo(IsHovered ? 1 : 0, transition_length, Easing.OutQuint);
|
||||||
Text.FadeColour(AccentColour, transition_length, Easing.OutQuint);
|
Text.FadeColour(IsHovered ? Color4.White : AccentColour, transition_length, Easing.OutQuint);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override bool OnHover(HoverEvent e)
|
protected override bool OnHover(HoverEvent e)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user