mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-17 10:10:50 +00:00
chat: fix parent of combatlog and others
This commit is contained in:
+5
-5
@@ -207,16 +207,16 @@ pfUI:RegisterModule("chat", function ()
|
|||||||
if j==5 then v:SetTexture(0,0,0,0) end
|
if j==5 then v:SetTexture(0,0,0,0) end
|
||||||
end
|
end
|
||||||
|
|
||||||
local _, relativeTo = getglobal("ChatFrame" .. i):GetPoint(1)
|
|
||||||
getglobal("ChatFrame" .. i .. "Tab"):SetParent(pfUI.chat.left.panelTop)
|
|
||||||
getglobal("ChatFrame" .. i .. "ResizeBottom"):Hide()
|
getglobal("ChatFrame" .. i .. "ResizeBottom"):Hide()
|
||||||
|
local _, relativeTo = getglobal("ChatFrame" .. i):GetPoint(1)
|
||||||
if relativeTo == pfUI.chat.left then
|
if relativeTo == pfUI.chat.left then
|
||||||
getglobal("ChatFrame" .. i .. "Tab"):SetParent(pfUI.chat.left.panelTop)
|
getglobal("ChatFrame" .. i .. "Tab"):SetParent(pfUI.chat.left.panelTop)
|
||||||
getglobal("ChatFrame" .. i):SetParent(pfUI.chat.left.panelTop)
|
getglobal("ChatFrame" .. i):SetParent(pfUI.chat.left)
|
||||||
elseif relativeTo == pfUI.chat.right then
|
elseif relativeTo == pfUI.chat.right then
|
||||||
getglobal("ChatFrame" .. i .. "Tab"):SetParent(pfUI.chat.right.panelTop)
|
getglobal("ChatFrame" .. i .. "Tab"):SetParent(pfUI.chat.right.panelTop)
|
||||||
getglobal("ChatFrame" .. i):SetParent(pfUI.chat.right.panelTop)
|
else
|
||||||
|
getglobal("ChatFrame" .. i .. "Tab"):SetParent(pfUI.chat.left.panelTop)
|
||||||
|
getglobal("ChatFrame" .. i):SetParent(pfUI.chat.left)
|
||||||
end
|
end
|
||||||
|
|
||||||
getglobal("ChatFrame" .. i .. "TabText"):SetJustifyV("TOP")
|
getglobal("ChatFrame" .. i .. "TabText"):SetJustifyV("TOP")
|
||||||
|
|||||||
Reference in New Issue
Block a user