diff --git a/modules/panel.lua b/modules/panel.lua index 6cb1ef2c..75addf00 100644 --- a/modules/panel.lua +++ b/modules/panel.lua @@ -639,6 +639,8 @@ pfUI:RegisterModule("panel", "vanilla:tbc", function() if pfUI.chat.left:IsShown() then pfUI.chat.left:Hide() else pfUI.chat.left:Show() end end) + if not pfUI.chat then pfUI.panel.left.hide:Hide() end + SkinButton(pfUI.panel.left.hide) pfUI.panel.left.hide:SetBackdropColor(0,0,0,0) @@ -724,6 +726,8 @@ pfUI:RegisterModule("panel", "vanilla:tbc", function() if pfUI.chat.right:IsShown() then pfUI.chat.right:Hide() else pfUI.chat.right:Show() end end) + if not pfUI.chat then pfUI.panel.right.hide:Hide() end + SkinButton(pfUI.panel.right.hide) pfUI.panel.right.hide:SetBackdropColor(0,0,0,0)