MainMenuBar:SetMovable(true)
MainMenuBar:SetUserPlaced(true)
MainMenuBar:SetPoint("BOTTOM", 100, 20)
-- this part to restore the MainMenuBar after vehicule exit
CreateFrame("frame", nil, nil, "SecureHandlerBaseTemplate" ):WrapScript(ActionButton1, "OnShow", [[
local MainMenuBarArtFrame = self:GetParent()
local MainMenuBar = MainMenuBarArtFrame:GetParent()
local UIParent = MainMenuBar:GetParent()
MainMenuBar:SetPoint("BOTTOM", UIParent, "BOTTOM", 100, 20)
]])
*it doesn't work if you display the right bottom multibar
Is there any way to hide the MainMenuBar without taint?
|
MainMenuBar:EnableMouse(false)
MainMenuBarArtFrame:Hide()
but you will have to make adjustment to other frames