Quantcast WoWInterface - View Single Post - Moving the MainMenuBar
View Single Post
08-23-18, 03:11 PM   #15
A Deviate Faerie Dragon
Join Date: Aug 2009
Posts: 13
Red face

Okay with Taudiers tip it works now
(even though I HAVE MultiBarRight enabled and visible).
I just react on PLAYER_CONTROL_GAINED and it works again.

		if event:match("PLAYER_CONTROL_GAINED") then
			CreateFrame("frame", nil, nil, "SecureHandlerBaseTemplate" ):WrapScript(ActionButton1, "OnShow", [[
				local MainMenuBarArtFrame = self:GetParent()
				local MainMenuBar = MainMenuBarArtFrame:GetParent()
				local UIParent = MainMenuBar:GetParent()
				MainMenuBar:SetPoint("CENTER", UIParent, "BOTTOM", 0, 40)

Last edited by Drudatz : 08-23-18 at 03:28 PM.
  Reply With Quote