
[Request] Give map and train all buttons global names (Classic Era)
AngelosNaoumis opened this issue ยท 3 comments
What game are you raising a ticket for?
Classic Era
What is your issue?
I am trying to skin some buttons of my UI, and I cannot skin logMapButton and TrainAllButton :(
Any chance you could give it a global name to logMapButton and TrainAllButton?
Even though you are trying to export _G.LeaPlusGlobalTrainAllButton, I cannot reference it in my addon.
This is for Classic Era and Retail.
LeaPlusGlobalTrainAllButton is accessible after Blizzard_TrainerUI has loaded for all game versions.
LeaPlusGlobalQuestLogMapButton has been added to 1.15.76 for Classic Era.
Thanks @leatrix !!
Managed to skin LeaPlusGlobalTrainAllButton but not LeaPlusGlobalQuestLogMapButton yet.
Should is there any accessibility requirement for LeaPlusGlobalQuestLogMapButton?
LeaPlusGlobalQuestLogMapButton is created at PLAYER_LOGIN. You can add Leatrix_Plus to your OptionalDeps in your .toc file then you should be able to access the button after the PLAYER_LOGIN event fires in your .lua file. Failing that, you can access the button after the PLAYER_ENTERING_WORLD event fires without needing to add the optional dependency.