View Single Post
11-18-22, 10:40 AM   #2
Kanegasi
A Molten Giant
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 666
Either of these two:
1. At frame creation:
Lua Code:
  1. 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:
  1. if not frame.SetBackdrop then
  2.     Mixin(frame,BackdropTemplateMixin)
  3. end
https://github.com/Stanzilla/WoWUIBu...system-changes

Last edited by Kanegasi : 11-18-22 at 10:42 AM.
  Reply With Quote