Quantcast

Change minimap coodinates' parent to minimap. This fixes #387

Darth Predator [11-08-16 - 18:33]
Change minimap coodinates' parent to minimap. This fixes #387
Filename
ElvUI_SLE/modules/minimap/minimapcoords.lua
diff --git a/ElvUI_SLE/modules/minimap/minimapcoords.lua b/ElvUI_SLE/modules/minimap/minimapcoords.lua
index be1e971..505af28 100644
--- a/ElvUI_SLE/modules/minimap/minimapcoords.lua
+++ b/ElvUI_SLE/modules/minimap/minimapcoords.lua
@@ -69,7 +69,8 @@ function MM:UpdateCoordinatesPosition()
 end

 function MM:CreateCoordsFrame()
-	MM.coordspanel = CreateFrame('Frame', "SLE_CoordsPanel", E.UIParent)
+	MM.coordspanel = CreateFrame('Frame', "SLE_CoordsPanel", _G["Minimap"])
+	-- MM.coordspanel = CreateFrame('Frame', "SLE_CoordsPanel", E.UIParent)
 	MM.coordspanel:Point("BOTTOM", _G["Minimap"], "BOTTOM", 0, 0)
 	MM.coordspanel.WidthValue = 0
 	-- MM.coordspanel:CreateBackdrop()