add decimal option
This commit is contained in:
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user