sfmict / HidingBar

Adds a custom panel for easy add-on management.
GNU General Public License v3.0
8 stars 1 forks source link

Added support for anchoring through WeakAuras #27

Closed rootkit1337tv closed 2 months ago

sfmict commented 2 months ago

Hi, if you want to use the bar, you should use HidingBarAddon.bar[1] or HidingBarAddon.defaultBar or HidingBarAddon.barByName["bar name"] "HidingBarBar" will be overwritten when a new bar is created.

rootkit1337tv commented 2 months ago

My plan was to anchor the bar to a specific frame in ElvUI so when i change scaling it will stick to that frame and not be out of place, giving the Frame a name seemed to work for me, using the fields you mentioned above does not.

rootkit1337tv commented 2 months ago

I assume you cant anchor the bar in settings?

sfmict commented 2 months ago

If the bar have a global name then wow ui saves the frame position, if I disable it then your script won't be work. You need to hook UI_SCALE_CHANGED and replace anchors after it.