From f0d1abef9c62b81644a36670afa5edb9eadddcbc Mon Sep 17 00:00:00 2001 From: LaYt Date: Thu, 24 Nov 2022 20:27:58 +0700 Subject: [PATCH] thirdparty: add support for latest supermacro --- modules/thirdparty-vanilla.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/thirdparty-vanilla.lua b/modules/thirdparty-vanilla.lua index 89481897..4caa40f8 100644 --- a/modules/thirdparty-vanilla.lua +++ b/modules/thirdparty-vanilla.lua @@ -812,7 +812,8 @@ pfUI:RegisterModule("thirdparty-vanilla", "vanilla", function() local ButtonEnter = pfUI.bars[1][1]:GetScript("OnEnter") local function NewButtonEnter() ButtonEnter() - SM_ActionButton_SetTooltip() + local actionid = ActionButton_GetPagedID(this) + SM_ActionButton_SetTooltip(actionid) end -- reassign the new event handler