Quantcast

* Parent the WorldFrame buttons to WorldFrameButton instead of the DetailFrame. This should resolve issues with Catrographer.

James Whitehead Ii [06-17-07 - 01:39]
* Parent the WorldFrame buttons to WorldFrameButton instead of the DetailFrame.  This should resolve issues with Catrographer.
Filename
TomTom.lua
diff --git a/TomTom.lua b/TomTom.lua
index 8d699e2..9353895 100755
--- a/TomTom.lua
+++ b/TomTom.lua
@@ -392,7 +392,7 @@ function TomTom:CreateWorldMapIcon(label, x, y)
 	-- icon.dot is the minimap dot texture
 	-- icon.label will contain the mouseover label
 	-- icon.coord will contain the text of the coordinates
-	icon = CreateFrame("Button", nil, WorldMapDetailFrame)
+	icon = CreateFrame("Button", nil, WorldMapButton)
 	icon:SetHeight(12)
 	icon:SetWidth(12)