from retail

This commit is contained in:
NoM0Re
2025-01-24 20:50:23 +01:00
parent 7671fd3c7b
commit b831fb4009
6 changed files with 34 additions and 3 deletions
+16 -2
View File
@@ -1135,7 +1135,14 @@ local function ProgressOptions(data)
width = WeakAuras.normalWidth,
name = L["Set Minimum Progress"],
desc = L["Values/Remaining Time below this value are displayed as zero progress."],
order = order + 1
order = order + 1,
set = function(info, value)
data.useAdjustededMin = value
if not value then
data.adjustedMin = ""
end
WeakAuras.Add(data)
end
};
options.adjustedMin = {
@@ -1161,7 +1168,14 @@ local function ProgressOptions(data)
width = WeakAuras.normalWidth,
name = L["Set Maximum Progress"],
desc = L["Values/Remaining Time above this value are displayed as full progress."],
order = order + 4
order = order + 4,
set = function(info, value)
data.useAdjustededMax = value
if not value then
data.adjustedMax = ""
end
WeakAuras.Add(data)
end
}
options.adjustedMax = {