Skip to content

Commit

Permalink
👌 IMPROVE: Comment out this hooks for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Merathilis committed Aug 23, 2024
1 parent 93a95cc commit 5d968a3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 15 deletions.
5 changes: 2 additions & 3 deletions ElvUI_MerathilisUI/Modules/Maps/EventTracker.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1298,7 +1298,6 @@ function module:GetPlayerDB(key)
end

function module:UpdateTrackers()
self:UnhookAll()
self:ConstructFrame()

self.frame:ClearAllPoints()
Expand Down Expand Up @@ -1407,8 +1406,8 @@ function module:Initialize()
EventRegistry:RegisterCallback("WorldMapOnShow", self.UpdateTrackers, self)
EventRegistry:RegisterCallback("WorldMapMinimized", E.Delay, E, 0.1, self.UpdateTrackers, self)
EventRegistry:RegisterCallback("WorldMapMaximized", E.Delay, E, 0.1, self.UpdateTrackers, self)
self:SecureHook(_G.QuestMapFrame, "Show", "UpdateTrackers")
self:SecureHook(_G.QuestMapFrame, "Hide", "UpdateTrackers")
-- self:SecureHook(_G.QuestMapFrame, "Show", "UpdateTrackers")
-- self:SecureHook(_G.QuestMapFrame, "Hide", "UpdateTrackers")
end

function module:ProfileUpdate()
Expand Down
1 change: 0 additions & 1 deletion ElvUI_MerathilisUI/Modules/Maps/WorldMap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2590,7 +2590,6 @@ function module:Initialize()
return
end

_G.QuestMapFrame:SetScript("OnHide", nil) -- fix potential toggle taint with HandyNotes or any other WQ AddOn
self:Scale()
self:Reveal()
end
Expand Down
16 changes: 5 additions & 11 deletions ElvUI_MerathilisUI/Options/Misc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -62,37 +62,31 @@ options.general = {
name = L["Hide Boss Banner"],
desc = L["This will hide the popup, that shows loot, after you kill a boss"],
},
quickDelete = {
order = 7,
type = "toggle",
name = L["Quick Delete"],
desc = L["This will add the 'DELETE' text to the Item Delete Dialog."],
},
tradeTabs = {
order = 8,
order = 7,
type = "toggle",
name = L["Trade Tabs"],
desc = L["Enable Tabs on the Profession Frames"],
},
spacer = {
order = 9,
order = 8,
type = "description",
name = " ",
},
missingStats = {
order = 10,
order = 9,
type = "toggle",
name = L["Missing Stats"],
desc = L["Show all stats on the Character Frame"],
},
blockRequest = {
order = 11,
order = 10,
type = "toggle",
name = L["Block Join Requests"],
desc = L["|nIf checked, only popout join requests from friends and guild members."],
},
hotKey = {
order = 12,
order = 11,
type = "toggle",
name = L["HotKey Above CD"],
desc = format(
Expand Down

0 comments on commit 5d968a3

Please sign in to comment.