unitframes: add slash command to test unitframes

This commit is contained in:
shagu
2024-11-04 16:14:29 +01:00
parent 532f1c7e57
commit 33d8de9345
2 changed files with 7 additions and 0 deletions
+6
View File
@@ -14,6 +14,12 @@ end)
pfUI.uf.frames = {}
pfUI.uf.delayed = {}
-- slash command to toggle unitframe test mode
_G.SLASH_PFTEST1, _G.SLASH_PFTEST2 = "/pftest", "/pfuftest"
_G.SlashCmdList.PFTEST = function()
pfUI.uf.showall = not pfUI.uf.showall
end
local scanner
local glow = {
edgeFile = pfUI.media["img:glow"], edgeSize = 8,