Configuration in the Titan menu now goes to the top Titan menu in the Blizz options screen - IF Titan is in the 1st screen (no scrolling needed)
urnati [11-25-18 - 12:28]
Configuration in the Titan menu now goes to the top Titan menu in the Blizz options screen - IF Titan is in the 1st screen (no scrolling needed)
diff --git a/Titan/TitanPanel.lua b/Titan/TitanPanel.lua
index 05f9d23..5ccc45a 100644
--- a/Titan/TitanPanel.lua
+++ b/Titan/TitanPanel.lua
@@ -304,7 +304,7 @@ _G[TITAN_PANEL_CONTROL]:RegisterEvent("CVAR_UPDATE");
_G[TITAN_PANEL_CONTROL]:RegisterEvent("PLAYER_LOGOUT");
_G[TITAN_PANEL_CONTROL]:RegisterEvent("ACTIVE_TALENT_GROUP_CHANGED");
_G[TITAN_PANEL_CONTROL]:RegisterEvent("UNIT_ENTERED_VEHICLE");
-_G[TITAN_PANEL_CONTROL]:RegisterEvent("UNIT_EXITED_VEHICLE");
+--_G[TITAN_PANEL_CONTROL]:RegisterEvent("UNIT_EXITED_VEHICLE");
_G[TITAN_PANEL_CONTROL]:SetScript("OnEvent", function(_, event, ...)
_G[TITAN_PANEL_CONTROL][event](_G[TITAN_PANEL_CONTROL], ...)
end)
@@ -527,7 +527,7 @@ function TitanPanelBarButton:PLAYER_REGEN_ENABLED()
-- Outside combat check to see if frames need correction
TitanPanel_AdjustFrames()
end
-
+--[
function TitanPanelBarButton:ACTIVE_TALENT_GROUP_CHANGED()
TitanMovable_AdjustTimer("DualSpec")
end
@@ -541,6 +541,7 @@ function TitanPanelBarButton:UNIT_EXITED_VEHICLE(self, ...)
-- A combat check will be done inside the adjust
TitanPanel_AdjustFrames()
end
+--]]
--
function TitanPanelBarButton:PET_BATTLE_OPENING_START()
-- TitanDebug("Pet_battle start: ")
@@ -1712,7 +1713,8 @@ local function TitanPanel_MainMenu()
info.text = L["TITAN_PANEL_MENU_CONFIGURATION"];
info.value = "Bars";
info.func = function()
- InterfaceOptionsFrame_OpenToCategory(L["TITAN_PANEL_MENU_TOP_BARS"])
+ InterfaceOptionsFrame_OpenToCategory(L["TITAN_PANEL_MENU_TOP_BARS"]);
+ InterfaceOptionsFrame_OpenToCategory(L["TITAN_PANEL_MENU_TOP_BARS"]); -- hack for a Blizz bug...
end
L_UIDropDownMenu_AddButton(info);