From 0d44b24e57c026d10d56c84a0ba51d5f2323e9b8 Mon Sep 17 00:00:00 2001 From: Littletsu <38116582+littletsu@users.noreply.github.com> Date: Sun, 5 Jan 2025 17:13:41 -0600 Subject: [PATCH] Support ChannelTabsConfiguration hiding --- Cmdr/CmdrClient/CmdrInterface/Window.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cmdr/CmdrClient/CmdrInterface/Window.lua b/Cmdr/CmdrClient/CmdrInterface/Window.lua index 38b29ae9..f0287023 100644 --- a/Cmdr/CmdrClient/CmdrInterface/Window.lua +++ b/Cmdr/CmdrClient/CmdrInterface/Window.lua @@ -79,8 +79,10 @@ function Window:SetVisible(visible) if visible then self.PreviousChatWindowConfigurationEnabled = TextChatService.ChatWindowConfiguration.Enabled self.PreviousChatInputBarConfigurationEnabled = TextChatService.ChatInputBarConfiguration.Enabled + self.PreviousChannelTabsConfigurationEnabled = TextChatService.ChannelTabsConfiguration.Enabled TextChatService.ChatWindowConfiguration.Enabled = false TextChatService.ChatInputBarConfiguration.Enabled = false + TextChatService.ChannelTabsConfiguration.Enabled = false Entry.TextBox:CaptureFocus() self:SetEntryText("") @@ -97,6 +99,9 @@ function Window:SetVisible(visible) ~= nil then self.PreviousChatInputBarConfigurationEnabled else true + TextChatService.ChannelTabsConfiguration.Enabled = if self.PreviousChannelTabsConfigurationEnabled ~= nil + then self.PreviousChannelTabsConfigurationEnabled + else true Entry.TextBox:ReleaseFocus() self.AutoComplete:Hide()