Commit c0212b85 authored by Simpy's avatar Simpy 🐹
Browse files

further adjust castbar min/max offsets and adjust some insane font size to 6-64

parent 7679cd03
......@@ -232,7 +232,7 @@ E.Options.args.bags = {
order = 3,
type = 'range',
name = L["FONT_SIZE"],
min = 4, max = 212, step = 1,
min = 6, max = 64, step = 1,
set = function(info, value) E.db.bags.countFontSize = value; B:UpdateCountDisplay() end,
},
countFontOutline = {
......@@ -301,7 +301,7 @@ E.Options.args.bags = {
order = 6,
type = 'range',
name = L["FONT_SIZE"],
min = 4, max = 212, step = 1,
min = 6, max = 64, step = 1,
disabled = function() return not E.db.bags.itemLevel end,
set = function(info, value) E.db.bags.itemLevelFontSize = value; B:UpdateItemLevelDisplay() end,
},
......
......@@ -640,7 +640,7 @@ E.Options.args.datatexts = {
order = 2,
name = L["FONT_SIZE"],
type = 'range',
min = 4, max = 212, step = 1,
min = 6, max = 64, step = 1,
},
fontOutline = {
order = 3,
......
......@@ -316,8 +316,8 @@ E.Options.args.general = {
name = L["FONT_SIZE"],
desc = L["Set the font size for everything in UI. Note: This doesn't effect somethings that have their own seperate options (UnitFrame Font, Datatext Font, ect..)"],
type = 'range',
min = 8, max = 48, step = 1,
softMin = 10, softMax = 32,
min = 6, max = 64, step = 1,
softMin = 8, softMax = 32,
set = function(info, value) E.db.general[info[#info]] = value; E:UpdateMedia(); E:UpdateFontTemplates(); end,
},
fontStyle = {
......@@ -679,7 +679,7 @@ E.Options.args.general = {
order = 2,
name = L["FONT_SIZE"],
type = 'range',
min = 6, max = 22, step = 1,
min = 6, max = 24, step = 1,
},
fontOutline = {
order = 3,
......@@ -863,7 +863,7 @@ E.Options.args.general = {
order = 2,
type = 'range',
name = L["FONT_SIZE"],
min = 4, max = 40, step = 1,
min = 4, max = 42, step = 1,
},
itemLevelFontOutline = {
order = 3,
......@@ -949,7 +949,7 @@ E.Options.args.general = {
order = 4,
type = 'range',
name = L["FONT_SIZE"],
min = 4, max = 212, step = 1,
min = 6, max = 64, step = 1,
},
chatBubbleFontOutline = {
order = 5,
......
......@@ -1055,7 +1055,7 @@ local function GetOptionsTable_Castbar(hasTicks, updateFunc, groupName, numUnits
order = 3,
type = 'range',
name = L["Font Size"],
min = 7, max = 212, step = 1,
min = 6, max = 64, step = 1,
get = function(info) return E.db.unitframe.units[groupName].castbar.customTextFont[info[#info]] end,
set = function(info, value) E.db.unitframe.units[groupName].castbar.customTextFont[info[#info]] = value; updateFunc(UF, groupName, numUnits) end,
disabled = function() return not E.db.unitframe.units[groupName].castbar.customTextFont.enable end
......@@ -1079,7 +1079,7 @@ local function GetOptionsTable_Castbar(hasTicks, updateFunc, groupName, numUnits
order = 5,
type = 'range',
name = L["Y-Offset"],
min = -50, max = 50, step = 1,
min = -500, max = 500, step = 1,
},
},
},
......@@ -1112,7 +1112,7 @@ local function GetOptionsTable_Castbar(hasTicks, updateFunc, groupName, numUnits
order = 3,
type = 'range',
name = L["Font Size"],
min = 7, max = 212, step = 1,
min = 6, max = 64, step = 1,
get = function(info) return E.db.unitframe.units[groupName].castbar.customTimeFont[info[#info]] end,
set = function(info, value) E.db.unitframe.units[groupName].castbar.customTimeFont[info[#info]] = value; updateFunc(UF, groupName, numUnits) end,
disabled = function() return not E.db.unitframe.units[groupName].castbar.customTimeFont.enable end
......@@ -1136,7 +1136,7 @@ local function GetOptionsTable_Castbar(hasTicks, updateFunc, groupName, numUnits
order = 5,
type = 'range',
name = L["Y-Offset"],
min = -50, max = 50, step = 1,
min = -500, max = 500, step = 1,
},
},
},
......@@ -1191,14 +1191,14 @@ local function GetOptionsTable_Castbar(hasTicks, updateFunc, groupName, numUnits
order = 5,
type = 'range',
name = L["X-Offset"],
min = -300, max = 300, step = 1,
min = -500, max = 500, step = 1,
disabled = function() return E.db.unitframe.units[groupName].castbar.iconAttached end,
},
iconYOffset = {
order = 6,
type = 'range',
name = L["Y-Offset"],
min = -300, max = 300, step = 1,
min = -500, max = 500, step = 1,
disabled = function() return E.db.unitframe.units[groupName].castbar.iconAttached end,
},
},
......@@ -1559,7 +1559,7 @@ local function CreateCustomTextGroup(unit, objectName)
order = 5,
name = L["FONT_SIZE"],
type = 'range',
min = 4, max = 212, step = 1,
min = 6, max = 64, step = 1,
},
fontOutline = {
order = 6,
......@@ -2499,7 +2499,7 @@ local function GetOptionsTable_RaidDebuff(updateFunc, groupName)
order = 6,
type = 'range',
name = L["FONT_SIZE"],
min = 7, max = 212, step = 1,
min = 6, max = 64, step = 1,
},
fontOutline = {
order = 7,
......@@ -3693,7 +3693,7 @@ E.Options.args.unitframe = {
name = L["FONT_SIZE"],
desc = L["Set the font size for unitframes."],
type = 'range',
min = 4, max = 212, step = 1,
min = 6, max = 64, step = 1,
set = function(info, value) E.db.unitframe[info[#info]] = value; UF:Update_FontStrings() end,
},
fontOutline = {
......
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