oUF

99.9k Downloads

Monk stagger power update

siweia opened this issue ยท 4 comments

commented

https://github.com/oUF-wow/oUF/blob/master/elements/stagger.lua#L158

The event UNIT_AURA only register when stagger bar is hidden.
Should we hide the bar in layout as default, or let oUF handle it?

commented

Sup! Yeah, it's brought to my attention 1-2 days ago. I actually want to rewrite that Visibility function to make it work/look similar to how Visibility behaves in other elements like additional and class powers.

commented

But for now, yes, when creating the widget, you're expected to hide it. Even I do that in my layout ๐Ÿ˜๐Ÿ”ซ

commented

Actually this @ls-

Layouts should not depend on our internal logic. Fixing this is as easy as adding element:Hide() in Enable.

commented

I still want to revamp that visibility and add callbacks.