mirror of
https://github.com/ppy/osu.git
synced 2025-03-28 10:17:19 +08: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)
|
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))
|
if (channel != null && !(channel is ChannelSelectorTabItem.ChannelSelectorTabChannel))
|
||||||
ChannelTabControl.Current.Value = channel;
|
ChannelTabControl.Current.Value = channel;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user