diff FlightMap.lua @ 73:25f7dbc20a72

fix WorldMapTooltip getting stranded when flightmap is closed - quests that are not valid spell targets will have their icon go red - auto-complete scrolls will no longer hide pin frames; instead they become click through and blizzard POIs are activated beneath for taint-free interaction
author Nenue
date Fri, 07 Apr 2017 07:20:28 -0400
parents 6db0b9696936
children 2ba11b25aa7f
line wrap: on
line diff
--- a/FlightMap.lua	Fri Apr 07 01:07:48 2017 -0400
+++ b/FlightMap.lua	Fri Apr 07 07:20:28 2017 -0400
@@ -163,11 +163,12 @@
 end
 
 function WorldPlanDataPinMixin:OnMouseEnter ()
-
   WorldMap_HijackTooltip(self:GetMap())
 end
 
 function WorldPlanDataPinMixin:OnMouseLeave ()
+  WorldMap_RestoreTooltip()
+  WorldMapTooltip:Hide()
 end
 
 function WorldPlanDataPinMixin:RemoveAllData()