Replace second usage of new function

This commit is contained in:
Dean Herbert 2021-06-03 14:56:29 +09:00
parent a6cc37eb3b
commit a91015302e

View File

@ -81,9 +81,11 @@ namespace osu.Game.Overlays.Chat.Tabs
RemoveItem(channel);
if (SelectedTab == null)
SelectTab(selectorTab);
SelectChannelSelectorTab();
}
public void SelectChannelSelectorTab() => SelectTab(selectorTab);
protected override void SelectTab(TabItem<Channel> tab)
{
if (tab is ChannelSelectorTabItem)
@ -96,11 +98,6 @@ namespace osu.Game.Overlays.Chat.Tabs
selectorTab.Active.Value = false;
}
public void SelectChannelSelectorTab()
{
SelectTab(selectorTab);
}
protected override TabFillFlowContainer CreateTabFlow() => new ChannelTabFillFlowContainer
{
Direction = FillDirection.Full,