mirror of
https://github.com/ppy/osu
synced 2024-12-31 19:32:20 +00:00
Replace second usage of new function
This commit is contained in:
parent
a6cc37eb3b
commit
a91015302e
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user