Mercurial > wow > worldplan
diff WorldQuests.lua @ 95:b29b35cb8539
- Fixed quest completion checking and handling
- Changed animation method to hopefully stop weird flickering.
- Pins are now visible before full reward data is loaded
- Filter bar redesigned:
- aligned horizontally along the top of the map display
- filter buttons display a '+' when there are matches in both current and other zones, and '*' when there only matches in other zones
- button tooltips separate local and global quests
- button categories are highlighted and labeled when the cursor is over them
- Fixed invalid POI targets appearing when the spell targeting cursor is active
- ClassOrderPlan can be closed with the game menu button
author | Nenue |
---|---|
date | Mon, 08 May 2017 22:38:52 -0400 |
parents | 98b5e08b75ed |
children | 8591401ec278 |
line wrap: on
line diff
--- a/WorldQuests.lua Sat Apr 15 11:05:32 2017 -0400 +++ b/WorldQuests.lua Mon May 08 22:38:52 2017 -0400 @@ -398,7 +398,7 @@ pin.used = nil end - self:UpdateAnchors() + self:UpdateAnchors(...) --[[ if bountiesDirty then --print(' bounties dirty, pushing that') @@ -458,7 +458,6 @@ WorldPlanSummary.isStale = true end - WorldPlan.dataFlush = true end function Module:RefreshIfChanged(event) @@ -495,9 +494,8 @@ end -- Walks the current map tree and fires updates as needed -function Module:UpdateAnchors () +function Module:UpdateAnchors (event) wipe(self.UsedPositions) - print(' |cFF00FF00'..self:GetName()..':UpdateAnchors()') local hostWidth, hostHeight = WorldMapPOIFrame:GetSize() if (hostWidth ~= self.hostWidth) or (hostHeight ~= self.hostHeight) then @@ -505,7 +503,7 @@ layoutDirty = true end - --rprint('|cFF00FF00'..self:GetName()..':UpdateAnchors()') + print('|cFF00FF00UpdateAnchors()', event) local mapFileName, textureHeight, textureWidth, isMicroDungeon, microDungeonMapName = GetMapInfo() if isMicroDungeon then return