add decimal option

This commit is contained in:
pepopo978
2025-01-08 09:36:20 -08:00
parent e75b821a09
commit 4077585841
4 changed files with 32 additions and 2 deletions
+15
View File
@@ -32,6 +32,7 @@ Cursive:RegisterDefaults("profile", {
textsize = 9,
curseordering = L["Expiring soonest -> latest"],
curseshowdecimals = false,
filterincombat = true,
filterhostile = true,
@@ -170,6 +171,7 @@ local barOptions = {
type = "text",
name = L["Curse Ordering"],
desc = L["Curse Ordering"],
order = 72,
get = function()
return Cursive.db.profile.curseordering
end,
@@ -178,6 +180,19 @@ local barOptions = {
Cursive.db.profile.curseordering = v
end,
},
["curseshowdecimals"] = {
type = "toggle",
name = L["Decimal Duration"],
desc = L["Decimal Duration Desc"],
order = 74,
get = function()
return Cursive.db.profile.curseshowdecimals
end,
set = function(v)
Cursive.db.profile.curseshowdecimals = v
Cursive.UpdateFramesFromConfig()
end,
},
["spacing"] = {
type = "range",
name = L["Spacing"],