mirror of https://github.com/ppy/osu
Also add fade to `ChannelItem` selected box
This commit is contained in:
parent
428e439f40
commit
7ca3beb7cc
|
@ -127,9 +127,9 @@ protected override void LoadComplete()
|
|||
selectedChannel.BindValueChanged(change =>
|
||||
{
|
||||
if (change.NewValue == channel)
|
||||
selectBox?.Show();
|
||||
selectBox?.FadeIn(300, Easing.OutQuint);
|
||||
else
|
||||
selectBox?.Hide();
|
||||
selectBox?.FadeOut(200, Easing.OutQuint);
|
||||
}, true);
|
||||
|
||||
Unread.BindValueChanged(change =>
|
||||
|
|
Loading…
Reference in New Issue