mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-19 19:10:49 +00:00
chat: use original background for undocked windows
This commit is contained in:
@@ -334,6 +334,18 @@ pfUI:RegisterModule("chat", "vanilla:tbc", function ()
|
|||||||
frame.pfCombatLog = nil
|
frame.pfCombatLog = nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
for _, tex in pairs(CHAT_FRAME_TEXTURES) do
|
||||||
|
local texture = _G["ChatFrame"..i..tex]
|
||||||
|
texture.oldTexture = texture.oldTexture or texture:GetTexture()
|
||||||
|
|
||||||
|
if i == 3 or frame.isDocked then
|
||||||
|
texture:SetTexture()
|
||||||
|
texture:Hide()
|
||||||
|
else
|
||||||
|
texture:SetTexture(texture.oldTexture)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
if not frame.pfStartMoving then
|
if not frame.pfStartMoving then
|
||||||
frame.pfStartMoving = frame.StartMoving
|
frame.pfStartMoving = frame.StartMoving
|
||||||
frame.StartMoving = function(a1)
|
frame.StartMoving = function(a1)
|
||||||
|
|||||||
Reference in New Issue
Block a user