[ENH] Allow binding to a LAB "Page" for Actionbar Overrides - (ElvUI/BT4/ConsolePort)
TimothyLuke opened this issue ยท 4 comments
๐ข How does GSE currently work
One fo the limitations of GSE's Actionbar Overrides currently is that mods like ElvUI, Bartender4 and ConsolePort use LibActionButton as a proxy to the actionbar buttons. These mods use a concept of "paging" to determine which state the button is in. Currently GSE caters to the default state of the button but doesn't cater to different pages.
๐ข What would this Change
Allowing to bind to the page would allow you to bind into stance bars like Stealth and different Druid forms like Bear / Cat etc.
It would require changing the binding page to allow for LAB States, referred to in user land as "Pages".
๐ข Files needing to change
- GSE\API\Events.lua: need to accommodate the different states
- GSE_GUI\KeyBinding.lua: need to present the new possible states.
๐ข Design Considerations
This would require that people know the value of the State of the button. While this is possible with a /run print(BT4Button2:GetAttribute("State"))
command it does increase the things a user has to "know". From this example BT4Button2 was the name of the button.