Skip to content

Commit

Permalink
support hiding questie too
Browse files Browse the repository at this point in the history
  • Loading branch information
eltreum0 committed Feb 7, 2022
1 parent 52a8bb3 commit 263c83b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions ElvUI_EltreumUI/Modules/Quests.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ function ElvUI_EltreumUI:QuestEncounter()
ObjectiveTracker_Collapse()
elseif ElvUI_EltreumUI.TBC or ElvUI_EltreumUI.Classic then
QuestWatchFrame:Hide()
if IsAddOnLoaded("Questie") then
_G["Questie_BaseFrame"]:Hide()
end
end
end
end
Expand All @@ -22,6 +25,9 @@ function ElvUI_EltreumUI:QuestEncounterEnd()
ObjectiveTracker_Expand()
elseif ElvUI_EltreumUI.TBC or ElvUI_EltreumUI.Classic then
QuestWatchFrame:Show()
if IsAddOnLoaded("Questie") then
_G["Questie_BaseFrame"]:Show()
end
end
end
end
Expand All @@ -35,12 +41,18 @@ function ElvUI_EltreumUI:ArenaQuest()
ObjectiveTrackerFrame:Hide()
elseif ElvUI_EltreumUI.TBC or ElvUI_EltreumUI.Classic then
QuestWatchFrame:Hide()
if IsAddOnLoaded("Questie") then
_G["Questie_BaseFrame"]:Hide()
end
end
elseif instanceType == "none" then
if ElvUI_EltreumUI.Retail then
ObjectiveTrackerFrame:Show()
elseif ElvUI_EltreumUI.TBC or ElvUI_EltreumUI.Classic then
QuestWatchFrame:Show()
if IsAddOnLoaded("Questie") then
_G["Questie_BaseFrame"]:Show()
end
end
end
end
Expand All @@ -52,6 +64,9 @@ function ElvUI_EltreumUI:QuestCombat()
ObjectiveTracker_Collapse()
elseif ElvUI_EltreumUI.TBC or ElvUI_EltreumUI.Classic then
QuestWatchFrame:Hide()
if IsAddOnLoaded("Questie") then
_G["Questie_BaseFrame"]:Hide()
end
end
end
end
Expand All @@ -62,6 +77,9 @@ function ElvUI_EltreumUI:QuestCombatEnd()
ObjectiveTracker_Expand()
elseif ElvUI_EltreumUI.TBC or ElvUI_EltreumUI.Classic then
QuestWatchFrame:Show()
if IsAddOnLoaded("Questie") then
_G["Questie_BaseFrame"]:Show()
end
end
end
end
Expand Down

0 comments on commit 263c83b

Please sign in to comment.