Some of my UI users use this addon, but my UI relies on my own fork of LAB. Yeah, yet another LAB fork, there's quite many these days.
So instead of hooking your FetchLibActionButton and UpdateButtonGlow methods or nagging you to add support for other forks, I decided to add RegisterLibActionButton method, so other people could register their LABs w/ your addon, so it could work w/ their buttons w/o any hassle.
Some time ago I did something similar for AdiButtonAuras. I rewrote all affected functions, primarily aforementioned FetchLibActionButton and UpdateButtonGlow. I also tried to follow your style, so it should look fine :D
Ah, and regarding UpdateButtonGlow, I fixed its logic, there's an issue where origShow's state wasn't saved across calls, so you could actually end up w/ it being noFunction or now nop, nop is a Blizz func. And it wasn't updated when you toggled the "Disable blizzard button glow" thingy. I also removed UpdateButtonGlow from PEW and moved it to EnableRotation. You could probably remove "experimental" from it, but keep it disabled by default 🤔
If you want, I can move all glow changes to their own PR.
Sup o/
Some of my UI users use this addon, but my UI relies on my own fork of LAB.
Yeah, yet another LAB fork, there's quite many these days.So instead of hooking your
FetchLibActionButton
andUpdateButtonGlow
methods or nagging you to add support for other forks, I decided to addRegisterLibActionButton
method, so other people could register their LABs w/ your addon, so it could work w/ their buttons w/o any hassle.Some time ago I did something similar for AdiButtonAuras. I rewrote all affected functions, primarily aforementioned
FetchLibActionButton
andUpdateButtonGlow
. I also tried to follow your style, so it should look fine :DAh, and regarding
UpdateButtonGlow
, I fixed its logic, there's an issue whereorigShow
's state wasn't saved across calls, so you could actually end up w/ it beingnoFunction
or nownop
,nop
is a Blizz func. And it wasn't updated when you toggled the "Disable blizzard button glow" thingy. I also removedUpdateButtonGlow
fromPEW
and moved it toEnableRotation
. You could probably remove "experimental" from it, but keep it disabled by default 🤔If you want, I can move all glow changes to their own PR.