refactor, switch to always displaying top 3 max hp, add always show current target option
This commit is contained in:
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user