# HG changeset patch # User Nick@Zahhak # Date 1490261343 14400 # Node ID 7c77fde3628749bd4edbfa3802d0b64b120d9710 # Parent 1196c2bad31c2e9570c44daf7d5d58aec909fed1 - WorldPlan pins are checked for completion state when available AP is tallied. diff -r 1196c2bad31c -r 7c77fde36287 Modules/ArtifactPower.lua --- a/Modules/ArtifactPower.lua Tue Mar 21 16:33:51 2017 -0400 +++ b/Modules/ArtifactPower.lua Thu Mar 23 05:29:03 2017 -0400 @@ -433,7 +433,7 @@ print('world plan is loaded') local worldQuests = WorldPlan:GetQuestPins() for index, pin in ipairs(worldQuests) do - if pin.dataLoaded and (pin.rewardType == WORLD_QUEST_REWARD_TYPE_FLAG_ARTIFACT_POWER) then + if pin.dataLoaded and (pin.rewardType == WORLD_QUEST_REWARD_TYPE_FLAG_ARTIFACT_POWER) and (pin.isActive) then showWQ = true print(pin.itemNumber) self.worldQuestAP = self.worldQuestAP + pin.itemNumber diff -r 1196c2bad31c -r 7c77fde36287 Modules/BuffFrame.xml --- a/Modules/BuffFrame.xml Tue Mar 21 16:33:51 2017 -0400 +++ b/Modules/BuffFrame.xml Thu Mar 23 05:29:03 2017 -0400 @@ -62,29 +62,29 @@ - - - - - - + - + - + + + + + + diff -r 1196c2bad31c -r 7c77fde36287 Modules/WorldState.lua --- a/Modules/WorldState.lua Tue Mar 21 16:33:51 2017 -0400 +++ b/Modules/WorldState.lua Thu Mar 23 05:29:03 2017 -0400 @@ -197,11 +197,12 @@ OrderHallCommandBar:ClearAllPoints() OrderHallCommandBar:SetAllPoints(self) - OrderHallCommandBar:SetWidth(600) + OrderHallCommandBar.Background:SetColorTexture(0,0,0,0.5) OrderHallCommandBar.WorldMapButton:Hide() OrderHallCommandBar:EnableMouse(false) - self:SetSize(OrderHallCommandBar:GetSize()) + self:SetSize(700, 24) + print('|cFF00AAFF'..self:GetName()..'|r:Update()', OrderHallCommandBar:IsVisible(), self:IsShown()) print(debugstack(6)) diff -r 1196c2bad31c -r 7c77fde36287 Veneer.lua --- a/Veneer.lua Tue Mar 21 16:33:51 2017 -0400 +++ b/Veneer.lua Thu Mar 23 05:29:03 2017 -0400 @@ -349,16 +349,18 @@ if frame.anchorFrame then print(frame.anchorPoint) frame:SetPoint(frame.anchorPoint, frame.anchorFrame, frame.anchorFrom, frame.anchorX, frame.anchorY) - print(frame:GetTop(), frame:GetRight()) + print('anchored to', frame.anchorFrame,frame:GetTop(), frame:GetRight()) else anchorPoint = frame.anchorPoint or anchorPoint frame:ClearAllPoints() if lastFrame then frame:SetPoint(anchorPoint, lastFrame, ANCHOR_OFFSET_POINT[anchorPoint], 0, 0) + + print('moved after', lastFrame,frame:GetTop(), frame:GetRight()) else frame:SetPoint(anchorPoint, UIParent, anchorPoint, frame.anchorX, frame.anchorY) + print('stub', anchorPoint, frame.anchorX, frame.anchorY) end - print(frame:GetTop(), frame:GetRight()) lastFrame = frame end