Skip to content

Commit

Permalink
Fix options order
Browse files Browse the repository at this point in the history
  • Loading branch information
Aviana committed Apr 12, 2021
1 parent 95f472e commit 6a379b3
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions modules/Options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1091,15 +1091,15 @@ function LUF:CreateConfig()
name = L["Horizontal Limit Side"],
desc = L["Side on which to cut shorter than the frame"],
type = "select",
order = 12,
order = 13,
values = {["LEFT"] = L["Left"], ["RIGHT"] = L["Right"]},
hidden = function(info) return (LUF.db.profile.units[info[1]].auras.buffpos ~= "TOP" and LUF.db.profile.units[info[1]].auras.buffpos ~= "BOTTOM") end,
},
wrapbuff = {
name = L["Horizontal Limit"],
desc = L["Limit to a percentage of the frame"],
type = "range",
order = 13,
order = 14,
min = 0.2,
max = 1.5,
step = 0.01,
Expand All @@ -1110,26 +1110,26 @@ function LUF:CreateConfig()
debuffheader = {
name = L["Debuffs"],
type = "header",
order = 14,
order = 15,
},
debuffs = {
name = L["Debuffs"],
desc = string.format(L["Enable or disable the %s."],L["Debuffs"]),
type = "toggle",
order = 15,
order = 16,
},
filterdebuffs = {
name = string.format(L["Filter %s"],L["Debuffs"]),
desc = L["Show only debuffs that you can dispel or cast"],
type = "select",
order = 16,
order = 17,
values = {[1] = OFF, [2] = L["Your own"], [3] = DISPELS},
},
debuffsize = {
name = L["Size"],
desc = L["Set the debuffsize."],
type = "range",
order = 17,
order = 18,
min = 4,
max = 50,
step = 1,
Expand All @@ -1138,7 +1138,7 @@ function LUF:CreateConfig()
name = L["Bigger debuffs"],
desc = EMPHASIZE_MY_SPELLS_TEXT,
type = "range",
order = 18,
order = 19,
min = 0,
max = 20,
step = 1,
Expand All @@ -1148,14 +1148,14 @@ function LUF:CreateConfig()
name = L["Position"],
desc = string.format(L["Position of the %s."],L["Debuffs"]),
type = "select",
order = 19,
order = 20,
values = {["LEFT"] = L["Left"], ["RIGHT"] = L["Right"], ["TOP"] = L["Top"], ["BOTTOM"] = L["Bottom"], ["INFRAME"] = L["Inside"], ["INFRAMECENTER"] = L["Inside Center"]},
},
debuffOffset = {
name = L["Y Position"],
desc = L["Offset"],
type = "range",
order = 20,
order = 21,
min = -50,
max = 50,
step = 1,
Expand All @@ -1165,15 +1165,15 @@ function LUF:CreateConfig()
name = L["Horizontal Limit Side"],
desc = L["Side on which to cut shorter than the frame"],
type = "select",
order = 21,
order = 22,
hidden = function(info) return (LUF.db.profile.units[info[1]].auras.debuffpos ~= "TOP" and LUF.db.profile.units[info[1]].auras.debuffpos ~= "BOTTOM") end,
values = {["LEFT"] = L["Left"], ["RIGHT"] = L["Right"]},
},
wrapdebuff = {
name = L["Horizontal Limit"],
desc = L["Limit to a percentage of the frame."],
type = "range",
order = 22,
order = 23,
min = 0.2,
max = 1.5,
step = 0.01,
Expand Down

0 comments on commit 6a379b3

Please sign in to comment.