actionbar: allow to hook into core functions

This commit is contained in:
shagu
2019-12-31 11:30:17 +01:00
parent 2545ef43d4
commit 308087ca5f
+4 -1
View File
@@ -634,7 +634,7 @@ pfUI:RegisterModule("actionbar", "vanilla:tbc", function ()
end
for id in pairs(updatecache) do
ButtonFullUpdate(buttoncache[id])
pfUI.bars.ButtonFullUpdate(buttoncache[id])
updatecache[id] = nil
end
@@ -1057,6 +1057,9 @@ pfUI:RegisterModule("actionbar", "vanilla:tbc", function ()
-- create actionbars
pfUI.bars = bars
pfUI.bars.update = updatecache
pfUI.bars.buttons = buttoncache
pfUI.bars.ButtonFullUpdate = ButtonFullUpdate
pfUI.bars.UpdateGrid = function(self, state, typ)
if not typ then