close the All Displays Panel on cooltip interaction

This commit is contained in:
Tercio Jose
2022-04-07 14:44:42 -03:00
parent f65c99a54c
commit a3e38a1e6a
2 changed files with 8 additions and 0 deletions
+2
View File
@@ -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)",
+6
View File
@@ -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