View Single Post
05-24-21, 10:52 AM   #2
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 822
See https://www.wowinterface.com/forums/...19&postcount=8 for more ...
Something like this should do the trick ...
Lua Code:
  1. local f = CreateFrame("Frame", nil, self, BackdropTemplateMixin and "BackdropTemplate")

For xml-files I'd recommend to take a look at the new toc-change mentioned here ... https://github.com/Stanzilla/WoWUIBu...ment-830351390

This way you can have different xml-files loaded by providing client-based toc files.
__________________
The cataclysm broke the world ... and the pandas could not fix it!
  Reply With Quote