zorker / rothui

Just a bunch of stuff I wrote for World of Warcraft
MIT License
105 stars 56 forks source link

rButtontemplate + Dominos #52

Closed arcadepro closed 6 years ago

arcadepro commented 6 years ago

wowscrnshot_021918_184358

Commenting out line 185 in rbuttontemplate/core.lua will fix it but is there a better way?

Apart from these ghost button borders everything works fine. (Aside from the extra action button, it shares the same bug)

zorker commented 6 years ago

Not sure if that is possible. You probably still use StyleAllActionButtons. That is for Blizzard buttons only. https://github.com/zorker/rothui/blob/master/wow7.0/rButtonTemplate/core.lua#L305 Use StyleActionButton instead. You may need to add Dominos as a required dependency to your toc file. It may also be required to register a callback or event if the buttons are not available on addon init and style the button once they are available.