Commit f5d546d5 authored by Simpy's avatar Simpy 🐹

all nameplates offsets static min to max: -100 to 100

parent 26ed895f
......@@ -2409,19 +2409,13 @@ local function GetUnitSettings(unit, name)
order = 5,
name = L["X-Offset"],
type = "range",
sliderElvUI = true,
min = function() return -(E.db.nameplates.clickableWidth or 100) end,
max = function() return (E.db.nameplates.clickableWidth or 100) end,
step = 1,
min = -100, max = 100, step = 1,
},
yOffset = {
order = 6,
name = L["Y-Offset"],
type = "range",
sliderElvUI = true,
min = function() return -(E.db.nameplates.clickableHeight or 75) end,
max = function() return (E.db.nameplates.clickableHeight or 75) end,
step = 1,
min = -100, max = 100, step = 1,
},
displayAltPower = {
order = 7,
......@@ -2583,19 +2577,13 @@ local function GetUnitSettings(unit, name)
order = 9,
name = L["X-Offset"],
type = "range",
sliderElvUI = true,
min = function() return -(E.db.nameplates.clickableWidth or 100) end,
max = function() return (E.db.nameplates.clickableWidth or 100) end,
step = 1,
min = -100, max = 100, step = 1,
},
yOffset = {
order = 10,
name = L["Y-Offset"],
type = "range",
sliderElvUI = true,
min = function() return -(E.db.nameplates.clickableHeight or 75) end,
max = function() return (E.db.nameplates.clickableHeight or 75) end,
step = 1,
min = -100, max = 100, step = 1,
},
textGroup = {
order = 20,
......@@ -3374,13 +3362,13 @@ local function GetUnitSettings(unit, name)
order = 5,
name = L["X-Offset"],
type = "range",
min = -64, max = 64, step = 1,
min = -100, max = 100, step = 1,
},
yOffset = {
order = 6,
name = L["Y-Offset"],
type = "range",
min = -64, max = 64, step = 1,
min = -100, max = 100, step = 1,
},
},
},
......@@ -3603,13 +3591,13 @@ local function GetUnitSettings(unit, name)
order = 5,
name = L["X-Offset"],
type = "range",
min = -64, max = 64, step = 1,
min = -100, max = 100, step = 1,
},
yOffset = {
order = 6,
name = L["Y-Offset"],
type = "range",
min = -64, max = 64, step = 1,
min = -100, max = 100, step = 1,
},
},
},
......@@ -3652,13 +3640,13 @@ local function GetUnitSettings(unit, name)
order = 5,
name = L["X-Offset"],
type = "range",
min = -64, max = 64, step = 1,
min = -100, max = 100, step = 1,
},
yOffset = {
order = 6,
name = L["Y-Offset"],
type = "range",
min = -64, max = 64, step = 1,
min = -100, max = 100, step = 1,
},
},
}
......@@ -3737,19 +3725,13 @@ local function GetUnitSettings(unit, name)
order = 4,
name = L["X-Offset"],
type = "range",
sliderElvUI = true,
min = function() return -(E.db.nameplates.clickableWidth or 100) end,
max = function() return (E.db.nameplates.clickableWidth or 100) end,
step = 1,
min = -100, max = 100, step = 1,
},
yOffset = {
order = 5,
name = L["Y-Offset"],
type = "range",
sliderElvUI = true,
min = function() return -(E.db.nameplates.clickableHeight or 75) end,
max = function() return (E.db.nameplates.clickableHeight or 75) end,
step = 1,
min = -100, max = 100, step = 1,
},
classColor = {
type = "toggle",
......@@ -5101,13 +5083,13 @@ E.Options.args.nameplate = {
order = 4,
name = L["X-Offset"],
type = "range",
min = -80, max = 80, step = 1,
min = -100, max = 100, step = 1,
},
yOffset = {
order = 4,
name = L["Y-Offset"],
type = "range",
min = -80, max = 80, step = 1,
min = -100, max = 100, step = 1,
},
classColor = {
type = "toggle",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment