actionbar: add support to use custom macro tooltip

This commit is contained in:
shagu
2022-04-29 00:18:15 +02:00
parent caa79573b3
commit 38d3d7d7ad
+6
View File
@@ -401,6 +401,12 @@ pfUI:RegisterModule("actionbar", "vanilla:tbc", function ()
return
end
if not match then
-- add support to specify custom tooltips via:
-- /run --showtooltip SPELLNAME
_, _, match = string.find(line, '%-%-showtooltip (.+)')
end
if not match then
_, _, match = string.find(line, '^/cast (.+)')
end