Quantcast
WoWInterface - View Single Post - Action Button now a Mixin in 9.0 latest builds
View Single Post
08-06-20, 05:37 AM   #4
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,510
What did seem to work after a few restarts ..

Lua Code:
  1. function nUI_HookButtonFunctions(button)
  2.  
  3. hooksecurefunc(button,"Update",
  4.    ....
  5. end
  6.  
  7. hooksecurefunc(button,"OnUpdate",
  8.    ....
  9. end
  10.  
  11. hooksecurefunc(button,"UpdateHotkeys",
  12.    ....
  13. end
  14.  
  15. hooksecurefunc(button,"UpdateUsable",
  16.    ....
  17. end
  18.  
  19. end
  20.  
  21. function nUI:initActionButton(button)
  22.     nUI_HookButtonFunctions(button)
  23.     ... rest of code
  24. end
__________________
  Reply With Quote