From 47957ca573a2f0cb022b11905db54d5fc4685d95 Mon Sep 17 00:00:00 2001 From: David Lynch Date: Tue, 12 Mar 2019 15:12:27 -0500 Subject: [PATCH] WorldMapTooltip isn't a thing any more --- integration/handynotes.lua | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/integration/handynotes.lua b/integration/handynotes.lua index da505fe0..e50595b2 100755 --- a/integration/handynotes.lua +++ b/integration/handynotes.lua @@ -92,7 +92,7 @@ do end function handler:OnEnter(uiMapID, coord) - local tooltip = self:GetParent() == WorldMapFrame:GetCanvas() and WorldMapTooltip or GameTooltip + local tooltip = GameTooltip if self:GetCenter() > UIParent:GetCenter() then -- compare X coordinate tooltip:SetOwner(self, "ANCHOR_LEFT") else @@ -122,11 +122,7 @@ function handler:OnEnter(uiMapID, coord) end function handler:OnLeave(uiMapID, coord) - if self:GetParent() == WorldMapFrame:GetCanvas() then - WorldMapTooltip:Hide() - else - GameTooltip:Hide() - end + GameTooltip:Hide() end local clicked_zone, clicked_coord