Mercurial > wow > worldplan
comparison FlightMap.lua @ 116:bf4a36378bb9
- Fixed flight map pins jumping about
author | Nenue |
---|---|
date | Fri, 24 Nov 2017 23:51:44 -0500 |
parents | e8b6c5433128 |
children |
comparison
equal
deleted
inserted
replaced
115:f4dedbad7a11 | 116:bf4a36378bb9 |
---|---|
160 end | 160 end |
161 | 161 |
162 function WorldPlanDataPinMixin:OnUpdate() | 162 function WorldPlanDataPinMixin:OnUpdate() |
163 local pin = self.pin | 163 local pin = self.pin |
164 if pin and pin.isStale then | 164 if pin and pin.isStale then |
165 print(pin.questID, 'is stale') | 165 -- print(pin.questID, 'is stale') |
166 pin:SetAnchor(nil, nil, nil, nil, nil, pin.filtered and 0.5 or 1) | 166 -- no longer needed |
167 -- pin:SetAnchor(nil, nil, nil, nil, nil, pin.filtered and 0.5 or 1) | |
167 if pin.isNew then | 168 if pin.isNew then |
168 pin:OnShow() | 169 pin:OnShow() |
169 end | 170 end |
170 end | 171 end |
171 end | 172 end |