11-18-22, 10:40 AM
|
#2
|
A Molten Giant
Join Date: Apr 2007
Posts: 666
|
Either of these two:
1. At frame creation:
Lua Code:
local frame = CreateFrame("frame", "frameName" or nil, frameParent or nil, "BackdropTemplate")
If the code you're fixing already has a fourth argument, add BackdropTemplate in the string after a comma, like this: "GameTooltipTemplate,BackdropTemplate" 2. Just before any backdrop method usage:
Lua Code:
if not frame.SetBackdrop then Mixin(frame,BackdropTemplateMixin) end
https://github.com/Stanzilla/WoWUIBu...system-changes
Last edited by Kanegasi : 11-18-22 at 10:42 AM.
|
|
|