Quantcast

Fix the positioning of the world frame coordinates

James Whitehead II [01-16-11 - 23:19]
Fix the positioning of the world frame coordinates

These positions will not be good for all, but should work with the
default user interface.
Filename
TomTom.lua
diff --git a/TomTom.lua b/TomTom.lua
index e62f488..e37355e 100755
--- a/TomTom.lua
+++ b/TomTom.lua
@@ -322,12 +322,15 @@ function TomTom:ShowHideWorldCoords()
 			TomTomWorldFrame:SetScript("OnUpdate", WorldMap_OnUpdate)
 		end

+        TomTomWorldFrame.Player:ClearAllPoints()
+        TomTomWorldFrame.Cursor:ClearAllPoints()
+
         if mapSizedUp then
             TomTomWorldFrame.Player:SetPoint("RIGHT", WorldMapPositioningGuide, "BOTTOM", -15, 15)
             TomTomWorldFrame.Cursor:SetPoint("LEFT", WorldMapPositioningGuide, "BOTTOM", 15, 15)
         else
-            TomTomWorldFrame.Player:SetPoint("RIGHT", WorldMapPositioningGuide, "BOTTOM", -40, 2)
-            TomTomWorldFrame.Cursor:SetPoint("LEFT", WorldMapPositioningGuide, "BOTTOM", -15, 2)
+            TomTomWorldFrame.Player:SetPoint("LEFT", WorldMapPositioningGuide, "BOTTOMLEFT", 25, 2)
+            TomTomWorldFrame.Cursor:SetPoint("LEFT", WorldMapPositioningGuide, "BOTTOMLEFT", 140, 2)
         end

         TomTomWorldFrame.Player:Hide()