Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/feature/wotlk' into feature/wotlk
Browse files Browse the repository at this point in the history
  • Loading branch information
Kozoaku committed Sep 7, 2022
2 parents 57da2d4 + d6248c0 commit dc99564
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/micromenu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ function MenuModule:CreateFrames()
self.frames.journal = nil
end
end
--@end-non-retail@

if mm.pvp then
self.frames.pvp = CreateFrame("BUTTON", "pvp", parentFrame)
Expand All @@ -305,6 +306,7 @@ function MenuModule:CreateFrames()
end
end

--@non-retail@
if mm.pet then
self.frames.pet = CreateFrame("BUTTON", "pet", parentFrame)
parentFrame = self.frames.pet
Expand Down Expand Up @@ -1132,13 +1134,15 @@ function MenuModule:GetConfig()
get = function() return xb.db.profile.modules.microMenu.journal; end,
set = function(_, val) xb.db.profile.modules.microMenu.journal = val; self:UpdateMenu(); self:Refresh(); end
},
--@end-non-retail@
pvp = {
name = L['Show PVP Button'],
order = 12,
type = "toggle",
get = function() return xb.db.profile.modules.microMenu.pvp; end,
set = function(_, val) xb.db.profile.modules.microMenu.pvp = val; self:UpdateMenu(); self:Refresh(); end
},
--@non-retail@
pet = {
name = L['Show Pets Button'],
order = 13,
Expand Down

0 comments on commit dc99564

Please sign in to comment.