View Single Post
07-25-22, 10:49 PM   #4
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,326
To directly answer the question, BackdropTemplate uses its own OnLoad handler to set the backdrop. When you supply your own, the default behavior is to overwrite it and the original no longer runs. You can call self:OnBackdropLoaded() manually to run it in your own handler since the template still writes its function there. Alternatively, you can use the inherit property to run your handler before or after the template's by setting it to "prepend" or "append" respectively.

https://wowpedia.fandom.com/wiki/XML/Scripts
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 07-25-22 at 10:52 PM.
  Reply With Quote