mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 12:02:55 +08:00
Add slight fade when hovering ChannelListItem
s
This commit is contained in:
parent
9eda2f2df1
commit
11b050b66b
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user