Change the LFG frame setup, thing needs to be in its own func now
Kelly Crabbé [12-04-13 - 14:46]
Change the LFG frame setup, thing needs to be in its own func now
diff --git a/core.lua b/core.lua
index 299a941..2d8cd97 100755
--- a/core.lua
+++ b/core.lua
@@ -129,9 +129,15 @@ function events:PLAYER_ENTERING_WORLD(...)
GuildInstanceDifficulty:SetScale(.7)
-- LFG Eye
- MiniMapLFGFrame:SetParent(Minimap)
- MiniMapLFGFrame:SetHighlightTexture(nil)
- LFDSearchStatus:SetClampedToScreen(true)
+ local function UpdateLFG()
+ MiniMapLFGFrame:ClearAllPoints()
+ MiniMapLFGFrame:Point("BOTTOMRIGHT", Minimap, "BOTTOMRIGHT", 2, 1)
+ MiniMapLFGFrameBorder:Hide()
+ MiniMapLFGFrame:SetParent(Minimap)
+ MiniMapLFGFrame:SetHighlightTexture(nil)
+ LFDSearchStatus:SetClampedToScreen(true)
+ end
+ hooksecurefunc("EyeTemplate_OnUpdate", UpdateLFG)
-- Frame hiding
for _, frame in pairs(frames) do