Add notes about weird local handling in ChannelListSelector

This commit is contained in:
Dean Herbert
2022-05-12 13:58:10 +09:00
parent 2dfed6eda1
commit 1d38e5bd33

View File

@ -73,6 +73,8 @@ namespace osu.Game.Overlays.Chat.ChannelList
currentChannel.BindValueChanged(channel => currentChannel.BindValueChanged(channel =>
{ {
// This logic should be handled by the chat overlay rather than this component.
// Selected state should be moved to an abstract class and shared with ChannelListItem.
if (channel.NewValue == null) if (channel.NewValue == null)
{ {
text.FadeColour(colourProvider.Content1, 300, Easing.OutQuint); text.FadeColour(colourProvider.Content1, 300, Easing.OutQuint);