Commit e4fdb1d3 authored by Azilroka's avatar Azilroka

More Options Tweaks

parent 8a9dfe62
......@@ -70,7 +70,7 @@ AS.Options = {
},
SkinTemplate = {
name = ASL['Skin Template'],
order = 6,
order = 7,
type = 'select',
values = DefaultTemplates,
},
......@@ -78,7 +78,7 @@ AS.Options = {
type = 'group',
name = 'Textures',
guiInline = true,
order = 7,
order = 8,
get = function(info) return AS:CheckOption(info[#info]) end,
set = function(info, value) AS:SetOption(info[#info], value) AS.NeedReload = true end,
args = {
......@@ -102,7 +102,7 @@ AS.Options = {
type = 'group',
name = 'Colors',
guiInline = true,
order = 8,
order = 9,
get = function(info) return unpack(AS:CheckOption(info[#info])) end,
set = function(info, r, g, b, a) AS:SetOption(info[#info], { r, g, b, a }) end,
args = {
......@@ -137,7 +137,7 @@ AS.Options = {
type = 'group',
name = 'DBM Options',
guiInline = true,
order = 9,
order = 10,
get = function(info) return AS:CheckOption(info[#info]) end,
set = function(info, value) AS:SetOption(info[#info], value) end,
args = {
......@@ -943,6 +943,8 @@ function AS:BuildOptions()
sort(skins)
tDeleteItem(skins, 'ParchmentRemover')
for _, skinName in pairs(skins) do
if strfind(skinName, 'Blizzard_') then
AS.Options.args.blizzard.args[skinName] = GenerateOptionTable(skinName, blizzorder)
......@@ -960,6 +962,13 @@ function AS:BuildOptions()
order = 5,
}
AS.Options.args.general.args.ParchmentRemover = {
type = 'toggle',
name = 'ElvUI Parchment Remover',
desc = 'Removes Parchment added in ElvUI Blizzard Skins',
order = 6,
}
if AS:CheckAddOn('ElvUI_MerathilisUI') then
local AddOnTemplate = CopyTable(DefaultTemplates)
AddOnTemplate['MerathilisUI'] = '|cffff7d0aMerathilisUI|r'
......
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