Skip to content

Commit

Permalink
Add notes about weird local handling in ChannelListSelector
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed May 12, 2022
1 parent 2dfed6e commit 1d38e5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions osu.Game/Overlays/Chat/ChannelList/ChannelListSelector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ protected override void LoadComplete()

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)
{
text.FadeColour(colourProvider.Content1, 300, Easing.OutQuint);
Expand Down

0 comments on commit 1d38e5b

Please sign in to comment.