diff Veneer.lua @ 112:7c77fde36287

- WorldPlan pins are checked for completion state when available AP is tallied.
author Nick@Zahhak
date Thu, 23 Mar 2017 05:29:03 -0400
parents 26938ae258b7
children 2105b6e5095f
line wrap: on
line diff
--- 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