1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 18:42:56 +08:00

Ensure channel selector is dismissed when the current channel is changed

This commit is contained in:
Jai Sharma 2022-05-09 12:01:30 +01:00
parent 9ec8b609a8
commit d4cc2bd7dd

View File

@ -191,8 +191,6 @@ namespace osu.Game.Overlays
channelManager.CurrentChannel.Value = channel;
}
selectorActive.Value = false;
channel.HighlightedMessage.Value = message;
Show();
@ -268,6 +266,8 @@ namespace osu.Game.Overlays
return;
}
selectorActive.Value = false;
LoadComponentAsync(new DrawableChannel(newChannel), loaded =>
{
currentChannelContainer.Clear();