From a3e38a1e6afae0e8924c00de393e09dee3b901c8 Mon Sep 17 00:00:00 2001 From: Tercio Jose Date: Thu, 7 Apr 2022 14:44:42 -0300 Subject: [PATCH] close the All Displays Panel on cooltip interaction --- boot.lua | 2 ++ startup.lua | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/boot.lua b/boot.lua index b1371477..6103317b 100644 --- a/boot.lua +++ b/boot.lua @@ -35,6 +35,8 @@ do local news = { {"v9.2.0.9715.146", "April 7th, 2022"}, "Added M+ Score into the player info tooltip (hover over the spec icon).", + "Fixed windows ungrouping after a /reload (fix by Flamanis).", + "Opening a tooltip from a bar or a menu in the title bar will close the All Displays Panel (from right clicking the title bar).", {"v9.2.0.9715.146", "March 6th, 2022"}, "More Tiny Threat fixes and implementations (by Treeston)", diff --git a/startup.lua b/startup.lua index a0220a88..6259886b 100644 --- a/startup.lua +++ b/startup.lua @@ -606,6 +606,12 @@ function Details:StartMeUp() --I'll never stop! end) end + hooksecurefunc(GameCooltip, "SetMyPoint", function() + if (DetailsAllAttributesFrame) then + DetailsAllAttributesFrame:Hide() + end + end) + function Details:InstallOkey() return true