From 9b9b9d5222dc7eb44457f8b58e734a8f7d8015e1 Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Wed, 9 Dec 2009 19:03:41 +0000 Subject: [PATCH] Fix parenting of waypoint buttons on the world map --- TomTom_Waypoints.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TomTom_Waypoints.lua b/TomTom_Waypoints.lua index 1ebd2bf..b8784db 100644 --- a/TomTom_Waypoints.lua +++ b/TomTom_Waypoints.lua @@ -136,7 +136,7 @@ function TomTom:SetWaypoint(c, z, x, y, callbacks, show_minimap, show_world) minimap:SetScript("OnEvent", Minimap_OnEvent) if not TomTomMapOverlay then - local overlay = CreateFrame("Frame", "TomTomMapOverlay", WorldMapDetailFrame) + local overlay = CreateFrame("Frame", "TomTomMapOverlay", WorldMapButton) overlay:SetAllPoints(true) end -- 1.7.9.5