from retail

This commit is contained in:
NoM0Re
2025-01-14 02:10:45 +01:00
parent 74cc0c7ee8
commit 9d6005c82f
7 changed files with 189 additions and 90 deletions
+13
View File
@@ -466,6 +466,19 @@ local function addControlsForChange(args, order, data, conditionVariable, totalA
args["condition" .. i .. "value" .. j].validate = WeakAuras.ValidateNumeric;
end
end
elseif (propertyType == "string") then
args["condition" .. i .. "value" .. j] = {
type = "input",
width = WeakAuras.normalWidth,
name = blueIfNoValue(data, conditions[i].changes[j], "value", L["Text"]),
desc = descIfNoValue(data, conditions[i].changes[j], "value", propertyType),
order = order,
get = function()
return conditions[i].changes[j].value;
end,
set = setValue
}
order = order + 1;
elseif (propertyType == "icon") then
args["condition" .. i .. "value" .. j] = {
type = "input",