mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 17:07:38 +08:00
Add slight animation when highlighting an unread channel
This commit is contained in:
parent
5104e4db21
commit
16caf2d30b
@ -134,7 +134,7 @@ namespace osu.Game.Overlays.Chat.ChannelList
|
||||
|
||||
Unread.BindValueChanged(change =>
|
||||
{
|
||||
text!.Colour = change.NewValue ? colourProvider.Content1 : colourProvider.Light3;
|
||||
text!.FadeColour(change.NewValue ? colourProvider.Content1 : colourProvider.Light3, 300, Easing.OutQuint);
|
||||
}, true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user