thirdparty: skin supermacro game menu button

This commit is contained in:
shagu
2023-06-15 09:38:04 +02:00
parent 80ac434fb4
commit 05bcd263f4
+3
View File
@@ -790,6 +790,9 @@ pfUI:RegisterModule("thirdparty-vanilla", "vanilla", function()
if C.thirdparty.supermacro.enable == "0" then return end
if not pfUI.bars then return end
-- skin game menu button
SkinButton(GameMenuButtonSuperMacro)
-- hook events to include SuperMacro refreshs
local ButtonFullUpdate = pfUI.bars.ButtonFullUpdate
pfUI.bars.ButtonFullUpdate = function(button)