Skip to content

Commit

Permalink
Only allow the OverrideActionBar to take over the MicroMenu when Bliz…
Browse files Browse the repository at this point in the history
…zard Vehicle is enabled
  • Loading branch information
Nevcairiel committed Sep 8, 2019
1 parent 98f5f45 commit 78d5a29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MicroMenu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function MicroMenuMod:UpdateMicroButtonsParent(parent)
if parent == self.bar then return end

-- any other parent then MainMenuBarArtFrame means its taken over by the Override bar or the PetBattleFrame
if parent and (parent == OverrideActionBar or parent == (PetBattleFrame and PetBattleFrame.BottomFrame.MicroButtonFrame)) then
if parent and ((Bartender4.db.profile.blizzardVehicle and parent == OverrideActionBar) or parent == (PetBattleFrame and PetBattleFrame.BottomFrame.MicroButtonFrame)) then
self.ownedByUI = true
self:BlizzardBarShow()
return
Expand Down

0 comments on commit 78d5a29

Please sign in to comment.