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:
parent
428e439f40
commit
7ca3beb7cc
@ -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 =>
|
||||||
|
Loading…
Reference in New Issue
Block a user