Quantcast

fix overwrite of queue positoning. Related to #235

Darthpred [07-28-16 - 15:16]
fix overwrite of queue positoning. Related to #235
Filename
ElvUI_SLE/modules/minimap/minimapicons.lua
diff --git a/ElvUI_SLE/modules/minimap/minimapicons.lua b/ElvUI_SLE/modules/minimap/minimapicons.lua
index eb330b1..813c35c 100644
--- a/ElvUI_SLE/modules/minimap/minimapicons.lua
+++ b/ElvUI_SLE/modules/minimap/minimapicons.lua
@@ -281,8 +281,10 @@ function SMB:Update()
 				end
 				if not E.db.sle.minimap.mapicons.skindungeon and Name == 'QueueStatusMinimapButton' then
 					Exception = false
+					local pos = E.db.general.minimap.icons.lfgEye.position or "BOTTOMRIGHT"
+					local scale = E.db.general.minimap.icons.lfgEye.scale or 1
 					_G["QueueStatusMinimapButton"]:ClearAllPoints()
-					_G["QueueStatusMinimapButton"]:Point("BOTTOMRIGHT", _G["Minimap"], -3, 3)
+					_G["QueueStatusMinimapButton"]:Point(pos, _G["Minimap"], pos, E.db.general.minimap.icons.lfgEye.xOffset or 3, E.db.general.minimap.icons.lfgEye.yOffset or 0)
 				end
 				if (not E.db.sle.minimap.mapicons.skinmail and Name == 'MiniMapMailFrame') then
 					Exception = false