mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-17 18:20:49 +00:00
actionbar: fix overlapping bonus action buttons
This commit is contained in:
@@ -14,6 +14,7 @@ pfUI:RegisterModule("actionbar", function ()
|
|||||||
|
|
||||||
function ShowBonusActionBar()
|
function ShowBonusActionBar()
|
||||||
for i=1, NUM_ACTIONBAR_BUTTONS do getglobal("ActionButton" .. i):Hide() end
|
for i=1, NUM_ACTIONBAR_BUTTONS do getglobal("ActionButton" .. i):Hide() end
|
||||||
|
if pfBonusBar then pfBonusBar:Show() end
|
||||||
Hook_ShowBonusActionBar()
|
Hook_ShowBonusActionBar()
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -23,6 +24,7 @@ pfUI:RegisterModule("actionbar", function ()
|
|||||||
|
|
||||||
function HideBonusActionBar()
|
function HideBonusActionBar()
|
||||||
for i=1, NUM_ACTIONBAR_BUTTONS do getglobal("ActionButton" .. i):Show() end
|
for i=1, NUM_ACTIONBAR_BUTTONS do getglobal("ActionButton" .. i):Show() end
|
||||||
|
if pfBonusBar then pfBonusBar:Hide() end
|
||||||
Hook_HideBonusActionBar()
|
Hook_HideBonusActionBar()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user