From 7915488172fb6a77dbf53eefe8e4e90b184f516a Mon Sep 17 00:00:00 2001 From: urnati Date: Sun, 25 Nov 2018 07:58:20 -0500 Subject: [PATCH] Tweak to menu bar fix --- Titan/TitanPanel.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Titan/TitanPanel.lua b/Titan/TitanPanel.lua index 5ccc45a..0d081f8 100644 --- a/Titan/TitanPanel.lua +++ b/Titan/TitanPanel.lua @@ -521,9 +521,18 @@ function TitanPanelBarButton:PLAYER_REGEN_DISABLED() -- If in combat close all control frames and menus TitanUtils_CloseAllControlFrames(); TitanUtils_CloseRightClickMenu(); + + -- Needed because 8.0 made changes to the menu bar processing (see TitanMovable) + MainMenuBar:SetMovable(true); + MainMenuBar:SetUserPlaced(false); end function TitanPanelBarButton:PLAYER_REGEN_ENABLED() + -- Needed because 8.0 made changes to the menu bar processing (see TitanMovable) + MainMenuBar:SetMovable(true); + MainMenuBar:SetUserPlaced(true); + MainMenuBar:SetMovable(false); + -- Outside combat check to see if frames need correction TitanPanel_AdjustFrames() end -- 1.7.9.5