Don't think this can be done reliably. Going to pass. Also blizzards current implementation of the bags bar doesn't work too well with max ui scale. So they may have to ditch it. Or change it up.
Problem is this code can run in combat. And I don't want to break the bar to make my stuff work.
There is other events the bar gets called on. To make the bar work correctly. Which in turns calls the code to set the main menu bar again. Some of these things can happen in combat. Just not feasible.
Thanks though, I spent too much time on this.
|