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

Also add fade to ChannelItem selected box

This commit is contained in:
Dean Herbert 2022-03-21 14:41:42 +09:00
parent 428e439f40
commit 7ca3beb7cc

View File

@ -127,9 +127,9 @@ namespace osu.Game.Overlays.Chat.ChannelList
selectedChannel.BindValueChanged(change => selectedChannel.BindValueChanged(change =>
{ {
if (change.NewValue == channel) if (change.NewValue == channel)
selectBox?.Show(); selectBox?.FadeIn(300, Easing.OutQuint);
else else
selectBox?.Hide(); selectBox?.FadeOut(200, Easing.OutQuint);
}, true); }, true);
Unread.BindValueChanged(change => Unread.BindValueChanged(change =>