add nameplate trigger/anchor with awesome wotlk

This commit is contained in:
NoM0Re
2024-06-29 18:33:34 +02:00
parent 58c9953264
commit 909f61f102
14 changed files with 379 additions and 22 deletions
+8 -2
View File
@@ -255,7 +255,10 @@ function OptionsPrivate.GetActionOptions(data)
type = "select",
width = WeakAuras.normalWidth,
desc = function()
return data.actions.start.glow_frame_type == "UNITFRAME"
return (
data.actions.start.glow_frame_type == "UNITFRAME"
or data.actions.start.glow_frame_type == "NAMEPLATE"
)
and L["Require unit from trigger"] or nil
end,
name = L["Glow Frame Type"],
@@ -629,7 +632,10 @@ function OptionsPrivate.GetActionOptions(data)
type = "select",
width = WeakAuras.normalWidth,
desc = function()
return data.actions.finish.glow_frame_type == "UNITFRAME"
return (
data.actions.finish.glow_frame_type == "UNITFRAME"
or data.actions.finish.glow_frame_type == "NAMEPLATE"
)
and L["Require unit from trigger"] or nil
end,
name = L["Glow Frame Type"],