mirror of
https://github.com/ppy/osu
synced 2025-02-21 04:57:11 +00:00
Revert change to avoid conflict with another PR
This commit is contained in:
parent
9596030e1d
commit
6d30e425a1
@ -321,7 +321,7 @@ namespace osu.Game.Overlays
|
||||
|
||||
private void selectTab(int index)
|
||||
{
|
||||
var channel = ChannelTabControl.Items.ElementAtOrDefault(index);
|
||||
var channel = ChannelTabControl.Items.Skip(index).FirstOrDefault();
|
||||
if (channel != null && !(channel is ChannelSelectorTabItem.ChannelSelectorTabChannel))
|
||||
ChannelTabControl.Current.Value = channel;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user