comparison FlightMap.lua @ 67:96183f981acb

Update for Legion Patch 7.2 - Pins for quests detected from the flight map should properly update as needed. - Fixed dropdown menu configurations not getting applied. - Added a toggle button to the world map display that performs the same function as the 'Enable' option in the dropdown menu. - Rewrote the majority of display update handlers for a significant performance improvements while interacting with the world map. - AP token info should now reflect artifact knowledge changes.
author Nenue
date Sat, 01 Apr 2017 08:17:30 -0400
parents 0749e38081e7
children 6db0b9696936
comparison
equal deleted inserted replaced
66:e43e10c5576b 67:96183f981acb
112 end 112 end
113 frame:SetPosition(info.x, info.y) 113 frame:SetPosition(info.x, info.y)
114 frame.pin = pin 114 frame.pin = pin
115 115
116 -- sticking it onto the MapCanvas pin 116 -- sticking it onto the MapCanvas pin
117 pin:SetAnchor(frame, nil, nil, nil, nil, pin.filtered and 0.5 or 1)
117 pin.owningFrame = frame:GetMap() 118 pin.owningFrame = frame:GetMap()
118 pin.throttle = 1 119 pin.throttle = 1
119 pin.isStale = true 120 pin.isStale = true
120 pin:SetAnchor(frame) 121
122 pin:ClearAllPoints()
123 pin:SetPoint('CENTER', frame, 'CENTER')
121 --print(pin.Overlay:IsShown(), pin.Overlay:GetPoint(1)) 124 --print(pin.Overlay:IsShown(), pin.Overlay:GetPoint(1))
122 end 125 end
123 pin:SetShown(pin.used) 126 pin:SetShown(pin.used)
124 end 127 end
125 128