mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-01 11:20:01 +00:00
chat: only remove actual combat log frames
This commit is contained in:
+6
-4
@@ -368,10 +368,6 @@ pfUI:RegisterModule("chat", "vanilla:tbc", function ()
|
||||
frame:SetPoint("TOPLEFT", pfUI.chat.right ,"TOPLEFT", default_border, -panelheight)
|
||||
frame:SetPoint("BOTTOMRIGHT", pfUI.chat.right ,"BOTTOMRIGHT", -default_border, bottompadding)
|
||||
frame:Show()
|
||||
elseif i == 2 and C.chat.global.combathide == "1" then
|
||||
-- Combat Log
|
||||
FCF_UnDockFrame(frame)
|
||||
FCF_Close(frame)
|
||||
elseif frame.isDocked then
|
||||
-- Left Chat
|
||||
local bottompadding = pfUI.panel and pfUI.panel.left:IsShown() and not pfUI_config.position["pfPanelLeft"] and panelheight or default_border
|
||||
@@ -391,6 +387,12 @@ pfUI:RegisterModule("chat", "vanilla:tbc", function ()
|
||||
tab:SetParent(UIParent)
|
||||
end
|
||||
|
||||
-- Combat Log
|
||||
if C.chat.global.combathide == "1" and frame.pfCombatLog then
|
||||
FCF_UnDockFrame(frame)
|
||||
FCF_Close(frame)
|
||||
end
|
||||
|
||||
-- hide textures
|
||||
for j,v in ipairs({tab:GetRegions()}) do
|
||||
if j==5 then v:SetTexture(0,0,0,0) end
|
||||
|
||||
Reference in New Issue
Block a user