Bypass UI Texture Pack
izyspania opened this issue ยท 0 comments
Hi , i have an addon and i made an panel that opens in an external frame , i am using PortraitFrameTemplate for the main frame and the texture pack makes the background transparent and I don't want that to happen , is there any way i can exclude this frame to use the modified Texture pack?
local panel = CreateFrame("Frame", name .. "_Panel", UIParent , "PortraitFrameTemplate")
I was thinking to do something like this but prob it wont work:
local background = panel.Bg:GetTexture()
panel.Bg:SetTexture(background)