|
I'm trying to modify Totemus3 so that I can hide the buttons that choose the totems to make it a bit more compact. These buttons are derived from the SecureActionButtonTemplate. As it is now, the buttons are always visible and when you left click on them they cast the appropriate totem. After much fiddling with the addon I got the menus to hide and then show when I right click them. However, now the spells do not cast when I click on the button. I know that the type and data attributes are being set, but when I click the button it does nothing. The mod recognizes that I clicked the button however because then the menu hides itself (what I want it to do). I'm caught up on why the spell will not cast when all I do is hide the button and then show it later.
If it matters, I use HideUIPanel and ShowUIPanel to hide and show the button, respectivly.
If any more information is needed, let me know. Thanks in advance for any help.
~Crofe
|