This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
10.2.7
PTR
10.2.6
Beta
Hidden region update problem
Post Reply
Return to board index
Post by
Tildy
I'm using MainMenuBar:Hide() to hide that bottom bar, and when I go into stealth mode while it's hidden the actionbar updates correctly to the stealth bar, and my hotkeys act on the abilities on the stealth bar. Then, when I exit stealth, the bar does not update back to the normal, non-stealth bar, and my hotkeys still act on stealth bar actionbuttons even though I'm not stealthed.
I'd really appreciate some help in identifying what exactly is causing the actionbar to not update. I've been looking around in BonusActionBarFrame and ActionButton luas mostly, but I just can't make sense of it enough to pinpoint what, if anything, is the problem there.
Post by
Tildy
Alright! I forgot to update this yesterday after I hacked out a workaround fix that will work until I figure out how to use state headers and more.
/run if MainMenuBar:GetBottom() ~= 0 then MainMenuBar:ClearAllPoints() MainMenuBar:SetPoint("Bottom") else MainMenuBar:ClearAllPoints() MainMenuBar:SetPoint("Bottom",0,-100) end
I just move the MainMenuBar off the screen at the bottom instead of Hide() it, because there were ugly update issues when stealth state headers were changing and functions weren't being called or were operating differently because of the hidden status.
It works nicely though for now, the macro there simply toggles the bar up and down, on and off the screen. On the surface, it's exactly what I wanted, but truly it's not hidden as I'd prefer.
http://forums.worldofwarcraft.com/thread.html?topicId=2647286068
That's the thread in UI&Macro I was getting some ideas from and working it out.
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.