mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-27 06:10:49 +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("TOPLEFT", pfUI.chat.right ,"TOPLEFT", default_border, -panelheight)
|
||||||
frame:SetPoint("BOTTOMRIGHT", pfUI.chat.right ,"BOTTOMRIGHT", -default_border, bottompadding)
|
frame:SetPoint("BOTTOMRIGHT", pfUI.chat.right ,"BOTTOMRIGHT", -default_border, bottompadding)
|
||||||
frame:Show()
|
frame:Show()
|
||||||
elseif i == 2 and C.chat.global.combathide == "1" then
|
|
||||||
-- Combat Log
|
|
||||||
FCF_UnDockFrame(frame)
|
|
||||||
FCF_Close(frame)
|
|
||||||
elseif frame.isDocked then
|
elseif frame.isDocked then
|
||||||
-- Left Chat
|
-- Left Chat
|
||||||
local bottompadding = pfUI.panel and pfUI.panel.left:IsShown() and not pfUI_config.position["pfPanelLeft"] and panelheight or default_border
|
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)
|
tab:SetParent(UIParent)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Combat Log
|
||||||
|
if C.chat.global.combathide == "1" and frame.pfCombatLog then
|
||||||
|
FCF_UnDockFrame(frame)
|
||||||
|
FCF_Close(frame)
|
||||||
|
end
|
||||||
|
|
||||||
-- hide textures
|
-- hide textures
|
||||||
for j,v in ipairs({tab:GetRegions()}) do
|
for j,v in ipairs({tab:GetRegions()}) do
|
||||||
if j==5 then v:SetTexture(0,0,0,0) end
|
if j==5 then v:SetTexture(0,0,0,0) end
|
||||||
|
|||||||
Reference in New Issue
Block a user