actionbar: fix overlapping bonus action buttons

This commit is contained in:
shagu
2016-12-30 13:53:46 +01:00
parent a78e508262
commit 8a811d8dfb
+2
View File
@@ -14,6 +14,7 @@ pfUI:RegisterModule("actionbar", function ()
function ShowBonusActionBar()
for i=1, NUM_ACTIONBAR_BUTTONS do getglobal("ActionButton" .. i):Hide() end
if pfBonusBar then pfBonusBar:Show() end
Hook_ShowBonusActionBar()
end
@@ -23,6 +24,7 @@ pfUI:RegisterModule("actionbar", function ()
function HideBonusActionBar()
for i=1, NUM_ACTIONBAR_BUTTONS do getglobal("ActionButton" .. i):Show() end
if pfBonusBar then pfBonusBar:Hide() end
Hook_HideBonusActionBar()
end