1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 12:02:55 +08:00

Add slight fade when hovering ChannelListItems

This commit is contained in:
Dean Herbert 2022-03-21 14:28:12 +09:00
parent 9eda2f2df1
commit 11b050b66b

View File

@ -140,15 +140,15 @@ namespace osu.Game.Overlays.Chat.ChannelList
protected override bool OnHover(HoverEvent e)
{
hoverBox?.Show();
close?.Show();
hoverBox?.FadeIn(300, Easing.OutQuint);
close?.FadeIn(300, Easing.OutQuint);
return base.OnHover(e);
}
protected override void OnHoverLost(HoverLostEvent e)
{
hoverBox?.Hide();
close?.Hide();
hoverBox?.FadeOut(200, Easing.OutQuint);
close?.FadeOut(200, Easing.OutQuint);
base.OnHoverLost(e);
}