From a9211ff640b342ffe4363158d4ee09efab8907bc Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Wed, 9 Dec 2009 18:38:47 +0000 Subject: [PATCH] Properly calculate the effective scale, so POI integration works when the world map is scaled down --- TomTom_POIIntegration.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TomTom_POIIntegration.lua b/TomTom_POIIntegration.lua index 529b0af..e6a5d71 100644 --- a/TomTom_POIIntegration.lua +++ b/TomTom_POIIntegration.lua @@ -3,7 +3,7 @@ local function POIAnchorToCoord(poiframe) local frame = WorldMapDetailFrame local width = frame:GetWidth() local height = frame:GetHeight() - local scale = frame:GetEffectiveScale() + local scale = frame:GetScale() local cx = (x / scale) / width local cy = (-y / scale) / height -- 1.7.9.5