Quantcast

-- Updated History

urnati [01-10-26 - 15:20]
-- Updated History
- Disabled Config from Titan menu in Midnoght only
Filename
Titan/Titan.lua
Titan/TitanGlobal.lua
Titan/TitanHistory.lua
Titan/TitanTemplate.lua
diff --git a/Titan/Titan.lua b/Titan/Titan.lua
index 8b051e2..c87ae87 100644
--- a/Titan/Titan.lua
+++ b/Titan/Titan.lua
@@ -2006,6 +2006,9 @@ local function BuildMainMenu(frame)

 	TitanPanelRightClickMenu_AddSeparator(TitanPanelRightClickMenu_GetDropdownLevel());

+	if Titan_Global.switch.midnight then
+		-- disable until we figure this out
+	else
 	-----------------
 	-- Config - just one button to open the first Titan option screen
 	do
@@ -2021,6 +2024,7 @@ local function BuildMainMenu(frame)
 	end

 	TitanPanelRightClickMenu_AddSeparator(TitanPanelRightClickMenu_GetDropdownLevel());
+	end

 	-----------------
 	-- Profiles
diff --git a/Titan/TitanGlobal.lua b/Titan/TitanGlobal.lua
index 6df6d9b..8d13ba2 100644
--- a/Titan/TitanGlobal.lua
+++ b/Titan/TitanGlobal.lua
@@ -41,6 +41,13 @@ else
 	Titan_Global.switch.classic_era  = false
 end

+Titan_Global.switch.midnight  = false -- Midnight
+if Titan_Global.wowversion >= 120000 then
+	Titan_Global.switch.midnight  = true
+else
+	Titan_Global.switch.midnight  = false
+end
+
 Titan_Global.switch.chat_class  = true -- if chat routines moved into ChatFrameUtil
 if ChatFrameUtil and ChatFrameUtil.DisplayTimePlayed then
 	Titan_Global.switch.chat_class  = true -- started in 11.* somewhere
diff --git a/Titan/TitanHistory.lua b/Titan/TitanHistory.lua
index 3f87302..1aaa3c1 100644
--- a/Titan/TitanHistory.lua
+++ b/Titan/TitanHistory.lua
@@ -16,8 +16,7 @@ local recent_changes = {
          {
             topic = "Titan TOC",
             lines = {
-               "Update MoP to 5.5.3.",
-               "Update TWW to 11.2.7.",
+               "Update MoP and TWW ",
             },
          },
          {
@@ -29,14 +28,17 @@ local recent_changes = {
          {
             topic = "Titan Config",
             lines = {
-               "Should open from Titan menu when running Midnight Beta.",
+               "NOTE: Opening Config from Titan menu disabled in Midnight Beta until we figure out what the bleep is wrong :).",
             },
          },
          {
             topic = "TitanPost",
             lines = {
                "New Built-in plugin",
-               "For Mail info: ? estimated mail read/total; + show new this session; ! show toons with expiring mail.",
+               "Button info: ",
+               ": ?? read/total from last open; ?? - not opened this session.",
+               ": ++ new mail this session; number not shown; cleared on open Mail.",
+               ": !! number of toons with expiring mail.",
             },
          },
          {
@@ -131,44 +133,6 @@ local recent_changes = {
          },
       },
    },
-   {
-      version = "8.4.1",
-      when = "2025/10/11",
-      topics = {
-         {
-            topic = "Titan",
-            lines = {
-               "TOC update only.",
-            },
-         },
-      },
-   },
-   {
-      version = "8.4.0",
-      when = "2025/08/27",
-      topics = {
-         {
-            topic = "Titan",
-            lines = {
-               "-  /titan reset working again; no reload needed!",
-               "-  Hopefully fix bar transparency values resetting on logout or reload.",
-               "-  Moved most bar settings from 'Bars - All' to each bar - use profiles instead.",
-               "--- Bar skin / color settings",
-               "--- Hide Bar during combat",
-               "--- Hide Bar in PvP and BG zones",
-               "-  Fix drag & drop of Titan plugins, per an API change in 11.2.0.",
-            }
-         },
-         {
-            topic = "Titan Internal",
-            lines = {
-               "- Global profiles should be working again.",
-               "- More debug statements on login, reload, profile reset.",
-               "- Removed code for old DewDrop and Tablet from tooltip code.",
-            },
-         },
-      },
-   },
 }

 ---Format the release notes
diff --git a/Titan/TitanTemplate.lua b/Titan/TitanTemplate.lua
index 594bf28..b83376f 100644
--- a/Titan/TitanTemplate.lua
+++ b/Titan/TitanTemplate.lua
@@ -657,8 +657,12 @@ function TitanPanelButton_OnEnter(self)
 	end

 	if (id) then
+		local menu_mgr = Menu.GetManager()
+
 		local controlFrame = TitanUtils_GetControlFrame(id);
-		if (controlFrame and controlFrame:IsVisible()) then
+		if (menu_mgr and menu_mgr:IsAnyMenuOpen()) then
+			return
+		elseif (controlFrame and controlFrame:IsVisible()) then
 			return;
 		elseif (TitanPanelRightClickMenu_IsVisible()) then
 			return;