add ability to choose curse ordering

This commit is contained in:
pepopo978
2025-01-03 13:17:31 -08:00
parent 1086d6cf6a
commit a8047cf047
3 changed files with 60 additions and 4 deletions
+14
View File
@@ -31,6 +31,8 @@ Cursive:RegisterDefaults("profile", {
maxcol = 1,
textsize = 9,
curseordering = L["Order applied"],
filterincombat = true,
filterhostile = true,
filterattackable = true,
@@ -164,6 +166,18 @@ local barOptions = {
end
end,
},
["curseordering"] = {
type = "text",
name = L["Curse Ordering"],
desc = L["Curse Ordering"],
get = function()
return Cursive.db.profile.curseordering
end,
validate = { L["Order applied"], L["Expiring soonest -> latest"], L["Expiring latest -> soonest"] },
set = function(v)
Cursive.db.profile.curseordering = v
end,
},
["spacing"] = {
type = "range",
name = L["Spacing"],