refactor, switch to always displaying top 3 max hp, add always show current target option

This commit is contained in:
pepopo978
2025-04-09 19:31:13 -07:00
parent 7d0cff5eaf
commit e568e3aff9
2 changed files with 167 additions and 51 deletions
+14
View File
@@ -20,6 +20,8 @@ Cursive:RegisterDefaults("profile", {
showhealthbar = true,
showunitname = true,
alwaysshowcurrenttarget = true,
scale = 1,
healthwidth = 100,
height = 16,
@@ -111,6 +113,18 @@ local barOptions = {
Cursive.UpdateFramesFromConfig()
end,
},
["alwaysshowcurrenttarget"] = {
type = "toggle",
name = "Always Show Current Target",
desc = "Always show current target at the bottom of the mob list if it is not already shown",
order = 32,
get = function()
return Cursive.db.profile.alwaysshowcurrenttarget
end,
set = function(v)
Cursive.db.profile.alwaysshowcurrenttarget = v
end,
},
["barwidth"] = {
type = "range",
name = L["Health Bar/Unit Name Width"],