FILE COMPARISON
Produced: 2020-03-20 20:41:01
   
Mode:  Just Differences  
   
Left file: D:\git\downloads\WorldQuestTracker-v8.3.0.391\WorldQuestTracker\WorldQuestTracker_Tracker.lua  
Right file: D:\git\downloads\WorldQuestTracker-v8.3.0.392\WorldQuestTracker\WorldQuestTracker_Tracker.lua  
354 --move anything <>    
355 C_Timer.After (10, function()      
356         if (MAOptions) then      
357                 MAOptions:HookScript ("OnUpdate", function()      
358                         WorldQuestTracker.RefreshTrackerAnchor()      
359                 end)      
360        
361                 --ObjectiveTrackerFrameMover:CreateTexture("AA", "overlay")      
362                 --AA:SetAllPoints()      
363                 --AA:SetColorTexture (1, 1, 1, .3)      
364         end      
365 end)      
366        
 
375                 for i = 1, ObjectiveTrackerFrame:GetNumPoints() do <> 362                 WorldQuestTrackerScreenPanel:SetPoint ("TOP", ObjectiveTrackerFrame, "TOP", -10, -20 - WorldQuestTracker.TrackerHeight)
376                         local point, relativeTo, relativePoint, xOfs, yOfs = ObjectiveTrackerFrame:GetPoint (i)      
377                           363  
378                         --note: we're probably missing something here, when the frame anchors to MoveAnything frame 'ObjectiveTrackerFrameMover',      
379                         --it automatically anchors to MinimapCluster frame.      
380                         --so the solution we've found was to get the screen position of the MoveAnything frame and anchor our frame to UIParent.      
381                              
382                         --if (relativeTo:GetName() == "ObjectiveTrackerFrameMover") then      
383                         if (IsAddOnLoaded("MoveAnything") and relativeTo and (relativeTo:GetName() == "ObjectiveTrackerFrameMover")) then -- (check if MA is lodaded - thanks @liquidbase on WoWUI)      
384                                 local top, left = ObjectiveTrackerFrameMover:GetTop(), ObjectiveTrackerFrameMover:GetLeft()      
385                                 WorldQuestTrackerScreenPanel:SetPoint ("top", UIParent, "top", 0, (yOfs - WorldQuestTracker.TrackerHeight - 20) - abs (top-GetScreenHeight()))      
386                                 WorldQuestTrackerScreenPanel:SetPoint ("left", UIParent, "left", -10 + xOfs + left, 0)      
387                         else      
388                                 WorldQuestTrackerScreenPanel:SetPoint (point, relativeTo, relativePoint, -10 + xOfs, yOfs - WorldQuestTracker.TrackerHeight - 20)      
389                         end      
390                              
391                         --print where the frame is setting its potision   364                 --print where the frame is setting its potision
392                         --print ("SETTING POS ON:", point, relativeTo:GetName(), relativePoint, -10 + xOfs, yOfs - WorldQuestTracker.TrackerHeight - 20)   365                 --print ("SETTING POS ON:", "TOP", ObjectiveTrackerFrame:GetName(), "TOP", -10, -20 - WorldQuestTracker.TrackerHeight)
393                 end      
394     366                
395                 --print where the frame was anchored, weird thing happens if we set the anchor to a MoveAnything frame   367                 --print where the frame was anchored