Ensure current channel is set to the ChannelListingChannel when it becomes null

This commit is contained in:
Jai Sharma
2022-05-19 11:45:39 +01:00
parent 136ecb45e2
commit c37d1e4fae
3 changed files with 12 additions and 6 deletions

View File

@ -179,7 +179,7 @@ namespace osu.Game.Overlays.Chat.ChannelList
private void updateState()
{
bool selected = selectedChannel.Value == Channel || (isSelector && selectedChannel.Value == null);
bool selected = selectedChannel.Value == Channel;
if (selected)
selectBox.FadeIn(300, Easing.OutQuint);