Quantcast

* Parent world map icons to the WorldMapDetailFrame

James Whitehead Ii [01-28-08 - 07:45]
* Parent world map icons to the WorldMapDetailFrame
Filename
TomTom_Waypoints.lua
diff --git a/TomTom_Waypoints.lua b/TomTom_Waypoints.lua
index bc80810..15184ef 100644
--- a/TomTom_Waypoints.lua
+++ b/TomTom_Waypoints.lua
@@ -70,7 +70,7 @@ function TomTom:SetWaypoint(c,z,x,y,far,near,arrive,callback)
 		point.minimap.arrowout:Hide()

 		-- Create the world map point, and associated texture
-		point.world = CreateFrame("Button", nil, WorldMapButton)
+		point.world = CreateFrame("Button", nil, WorldMapDetailFrame)
 		point.world:SetHeight(12)
 		point.world:SetWidth(12)
 		point.world:RegisterForClicks("RightButtonUp")