mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-04 04:30:01 +00:00
unitframes: add slash command to test unitframes
This commit is contained in:
@@ -39,6 +39,7 @@ This is **not** an addon-pack like [ShaguUI](http://shagu.org/ShaguUI/), however
|
||||
/castfocus Same as /cast but for focus frame
|
||||
/clearfocus Clears the Focus-Frame
|
||||
/swapfocus Toggle Focus and Target-Frame
|
||||
/pftest Toggle pfUI Unitframe Test Mode
|
||||
/abp Addon Button Panel
|
||||
|
||||
## Languages
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user