Give the ability for some elements to go larger (#32)

* increase the maximum range of action bar size

* expand the range of size for minimap

* make it match the old values

* match the old values
This commit is contained in:
Anthony Narkevicius
2023-02-23 11:05:10 -08:00
committed by GitHub
parent 053e28adb3
commit e67c6e1bc0
2 changed files with 5 additions and 3 deletions
+3 -2
View File
@@ -907,7 +907,8 @@ local function BuildABConfig()
type = "range",
name = L["Button Size"],
desc = L["The size of the action buttons."],
min = 15, max = 60, step = 1,
min = 15, softMax = 60, max = 150, step = 1,
disabled = function() return not E.db.actionbar["bar"..i].enabled end
},
buttonspacing = {
@@ -1130,4 +1131,4 @@ E.Options.args.actionbar = {
}
}
group = E.Options.args.actionbar.args
BuildABConfig()
BuildABConfig()
+2 -1
View File
@@ -196,7 +196,8 @@ E.Options.args.maps = {
type = "range",
name = L["Size"],
desc = L["Adjust the size of the minimap."],
min = 120, max = 250, step = 1,
min = 50, max = 600, step = 1,
softMin = 120, softMax = 250,
get = function(info) return E.db.general.minimap[info[#info]] end,
set = function(info, value) E.db.general.minimap[info[#info]] = value MM:UpdateSettings() end,
disabled = function() return not E.private.general.minimap.enable end