@@ -70,6 +70,7 @@ local function Init(self)
7070 missions = true ,
7171 raidDiffIcon = true ,
7272 zoomBtn = false ,
73+ lfg = false ,
7374 mail = true ,
7475 autoZoom = true ,
7576 hideAddons = true ,
@@ -83,6 +84,7 @@ local function Init(self)
8384 trackingBtn = " MiddleButton" ,
8485 missionsBtn = " None" ,
8586 mapBtn = " RightButton" ,
87+ lfgBtn = " None" ,
8688 coordPrecision = " %d,%d" ,
8789 coordTime = 1 ,
8890 zoneTextConfig = {
@@ -765,6 +767,8 @@ local function Login(self)
765767 if not InCombatLockdown () then
766768 ToggleWorldMap ()
767769 end
770+ elseif btn == frame .db .profile .lfgBtn then
771+ LFGMinimapFrame :Click ()
768772 elseif btn == " LeftButton" then
769773 Minimap_OnClick (minimapFrame )
770774 end
@@ -777,6 +781,8 @@ local function Login(self)
777781 if not InCombatLockdown () then
778782 ToggleWorldMap ()
779783 end
784+ elseif btn == frame .db .profile .lfgBtn then
785+ LFGMinimapFrame :Click ()
780786 elseif btn == " LeftButton" then
781787 Minimap_OnClick (minimapFrame )
782788 end
@@ -793,6 +799,8 @@ local function Login(self)
793799 if not InCombatLockdown () then
794800 MiniMapWorldMapButton :Click ()
795801 end
802+ elseif btn == frame .db .profile .lfgBtn then
803+ LFGMinimapFrame :Click ()
796804 elseif btn == " LeftButton" then
797805 Minimap_OnClick (minimapFrame )
798806 end
@@ -853,6 +861,9 @@ function frame:LOADING_SCREEN_DISABLED(event)
853861 self .SetParent (LFGMinimapFrame , Minimap ) -- Special LFG button for classic era
854862 self .ClearAllPoints (LFGMinimapFrame )
855863 ldbi :SetButtonToPosition (LFGMinimapFrame , self .db .profile .blizzButtonLocation .lfg )
864+ if not self .db .profile .lfg then
865+ self .SetParent (LFGMinimapFrame , self )
866+ end
856867 end
857868end
858869frame :RegisterEvent (" LOADING_SCREEN_DISABLED" )
0 commit comments