mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-29 18:56:02 +00:00
actionbar: manually update paging actionbar slots
This commit is contained in:
@@ -715,7 +715,17 @@ pfUI:RegisterModule("actionbar", "vanilla:tbc", function ()
|
||||
end
|
||||
|
||||
for id in pairs(updatecache) do
|
||||
-- run updates based on slot
|
||||
pfUI.bars.ButtonFullUpdate(buttoncache[id])
|
||||
|
||||
-- run updates on paging actionbar if required
|
||||
for i=1,12 do
|
||||
if pfUI.bars[1][i].id == id then
|
||||
pfUI.bars.ButtonFullUpdate(pfUI.bars[1][i])
|
||||
end
|
||||
end
|
||||
|
||||
-- clear update cache
|
||||
updatecache[id] = nil
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user