Skip to content

Commit

Permalink
Don't skin the MicroMenu with Masque, its not compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
Nevcairiel committed Sep 6, 2019
1 parent d8f4294 commit 5f6e7aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ButtonBar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ Bartender4.ButtonBar.defaults = defaults

local Masque = LibStub("Masque", true)

function Bartender4.ButtonBar:Create(id, config, name)
function Bartender4.ButtonBar:Create(id, config, name, noSkinning)
local bar = setmetatable(Bartender4.Bar:Create(id, config, name), ButtonBar_MT)

if Masque then
if Masque and not noSkinning then
bar.MasqueGroup = Masque:Group("Bartender4", tostring(id))
end

Expand Down
2 changes: 1 addition & 1 deletion MicroMenu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ end

function MicroMenuMod:OnEnable()
if not self.bar then
self.bar = setmetatable(Bartender4.ButtonBar:Create("MicroMenu", self.db.profile, L["Micro Menu"]), {__index = MicroMenuBar})
self.bar = setmetatable(Bartender4.ButtonBar:Create("MicroMenu", self.db.profile, L["Micro Menu"], true), {__index = MicroMenuBar})
local buttons = {}

for i=1, #BT_MICRO_BUTTONS do
Expand Down

0 comments on commit 5f6e7aa

Please sign in to comment.