View Single Post
05-24-21, 01:26 PM   #3
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,879
An alternative with xml to using different files is to use:
Code:
<OnLoad inherit="prepend">
     OnLoadFunc(self)
</OnLoad>
And then in OnLoadFunc before using any SetBackdropXxx calls use:

Lua Code:
  1. if BackdropTemplateMixin then
  2.     Mixin(self, BackdropTemplateMixin)
  3. end
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 05-24-21 at 01:29 PM.
  Reply With Quote