From 8b1865fcd23cd94f858017355b5760865de00b05 Mon Sep 17 00:00:00 2001 From: shagu Date: Fri, 27 May 2022 16:59:06 +0200 Subject: [PATCH] thirdparty: make sure the chat header stays hidden --- modules/thirdparty.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/thirdparty.lua b/modules/thirdparty.lua index 506ea46d..8d2da39e 100644 --- a/modules/thirdparty.lua +++ b/modules/thirdparty.lua @@ -72,6 +72,14 @@ pfUI:RegisterModule("thirdparty", "vanilla:tbc", function() -- show/hide right chatframe if pfUI.chat and C.chat.right.enable == "1" then + -- make sure the panel header stays hidden + if self.state then + pfUI.chat.right.panelTop:Show() + else + pfUI.chat.right.panelTop:Hide() + end + + -- set chat visibility pfUI.chat.right:SetAlpha(self.state and 1 or 0) end