Revert "HealComm: Add toggle for Absorbs and reduce redundant updates (#94)"

This reverts commit 5ee511181e.
This commit is contained in:
andrew6180
2025-12-24 18:11:09 -07:00
parent 9410c29836
commit dcdf241d6a
7 changed files with 37 additions and 169 deletions
+1 -5
View File
@@ -76,11 +76,7 @@ local function GetUnitSettings(unit, name)
group.args.healthGroup.args.enable = ACH:Toggle(L["Enable"], nil, 1, nil, nil, nil, nil, nil, nil, function() return unit == 'PLAYER' end)
group.args.healthGroup.args.height = ACH:Range(L["Height"], nil, 3, { min = minHeight, max = MaxHeight(unit), step = 1 })
group.args.healthGroup.args.width = ACH:Execute(L["Width"], nil, 4, function() ACD:SelectGroup('ElvUI', 'nameplates', 'generalGroup', 'clickableRange') end)
group.args.healthGroup.args.healPredictionGroup = ACH:Group(L["Heal Prediction"], nil, 5, nil, function(info) return E.db.nameplates.units[unit].health.healPrediction[info[#info]] end, function(info, value) E.db.nameplates.units[unit].health.healPrediction[info[#info]] = value NP:ConfigureAll() end)
group.args.healthGroup.args.healPredictionGroup.inline = true
group.args.healthGroup.args.healPredictionGroup.args.enable = ACH:Toggle(L["Enable"], nil, 1)
group.args.healthGroup.args.healPredictionGroup.args.absorbs = ACH:Toggle(L["Enable Absorbs"], nil, 2)
group.args.healthGroup.args.healPrediction = ACH:Toggle(L["Heal Prediction"], nil, 5)
group.args.healthGroup.args.textGroup = ACH:Group(L["Text"], nil, 200, nil, function(info) return E.db.nameplates.units[unit].health.text[info[#info]] end, function(info, value) E.db.nameplates.units[unit].health.text[info[#info]] = value NP:ConfigureAll() end)
group.args.healthGroup.args.textGroup.inline = true
+1 -6
View File
@@ -2349,13 +2349,8 @@ local function GetOptionsTable_HealPrediction(updateFunc, groupName, numGroup)
type = "toggle",
name = L["Enable"]
},
absorbs = {
order = 3,
type = "toggle",
name = L["Enable Absorbs"]
},
colors = {
order = 4,
order = 3,
type = "execute",
name = L["COLORS"],
func = function() ACD:SelectGroup("ElvUI", "unitframe", "generalOptionsGroup", "allColorsGroup", "healPrediction") end,