comparison 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
comparison
equal deleted inserted replaced
72:6db0b9696936 73:25f7dbc20a72
161 161
162 function WorldPlanDataPinMixin:OnShow() 162 function WorldPlanDataPinMixin:OnShow()
163 end 163 end
164 164
165 function WorldPlanDataPinMixin:OnMouseEnter () 165 function WorldPlanDataPinMixin:OnMouseEnter ()
166
167 WorldMap_HijackTooltip(self:GetMap()) 166 WorldMap_HijackTooltip(self:GetMap())
168 end 167 end
169 168
170 function WorldPlanDataPinMixin:OnMouseLeave () 169 function WorldPlanDataPinMixin:OnMouseLeave ()
170 WorldMap_RestoreTooltip()
171 WorldMapTooltip:Hide()
171 end 172 end
172 173
173 function WorldPlanDataPinMixin:RemoveAllData() 174 function WorldPlanDataPinMixin:RemoveAllData()
174 wipe(self.activePins); 175 wipe(self.activePins);
175 self:GetMap():RemoveAllPinsByTemplate("WorldPlanFlightPin"); 176 self:GetMap():RemoveAllPinsByTemplate("WorldPlanFlightPin");