From 7a086e85342ea5d45da8dad0338443bfd30c9a1a Mon Sep 17 00:00:00 2001 From: shagu Date: Mon, 5 Mar 2018 22:56:56 +0100 Subject: [PATCH] actionbar: handle vertical bar independently --- modules/actionbar.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/actionbar.lua b/modules/actionbar.lua index d1d2dde4..a98cf579 100644 --- a/modules/actionbar.lua +++ b/modules/actionbar.lua @@ -240,6 +240,8 @@ pfUI:RegisterModule("actionbar", function () PetActionBarFrame:SetParent(pfUI.bars.pet) pfUI.bars:SetScript("OnEvent", function() + MultiActionBar_UpdateGridVisibility() + BarLayoutSize(pfUI.bars.actionmain, NUM_ACTIONBAR_BUTTONS, C.bars.actionmain.formfactor, C.bars.icon_size, default_border) pfUI.bars.actionmain:SetWidth(pfUI.bars.actionmain._size[1]) pfUI.bars.actionmain:SetHeight(pfUI.bars.actionmain._size[2]) @@ -415,7 +417,7 @@ pfUI:RegisterModule("actionbar", function () pfUI.bars.right:Hide() end - if SHOW_MULTI_ACTIONBAR_4 and SHOW_MULTI_ACTIONBAR_3 then + if SHOW_MULTI_ACTIONBAR_4 then pfUI.bars.tworight:Show() pfUI.bars.tworight:SetFrameStrata("LOW") pfUI.bars.tworight:ClearAllPoints()