View Single Post
06-02-17, 05:56 AM   #5
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,026
Originally Posted by Eommus View Post
Thanks, I tried your code (with all other addons disabled) but it did nothing.

You obviously don't have any error debugging addon like BugSack / Bugger loaded
This way you would have also known that MainActionBar does not exist and should be MainMenuBar

It would be useful if you actually showed more effort instead of saying "it did nothing"

I tried p3lim's snippet but it ended up hiding all of the action bars and the entire main menu though...
Lua Code:
  1. local Parent = CreateFrame('Frame', nil, UIParent, 'SecureHandlerStateTemplate')
  2. RegisterStateDriver(Parent, 'visibility', 'hide')
  3.  
  4. MainMenuBar:SetParent(Parent)
  5. MultiBarBottomLeft:SetParent(Parent)
  Reply With Quote