Commit a51318ad authored by Sean Anderson / Shrom's avatar Sean Anderson / Shrom Committed by Simpy

Move Class Color Override setting to the health tab

Class Color Override currently is under general, but should be closer to
the coloring section in health as health is the only element affected
by this setting.
parent 3f74ecd0
......@@ -10,9 +10,9 @@ Fixed the Raid Debuff Indicator icon not being cropped properly.
Fixed the Color Picker skin, it was showing the blizzard border.
**Misc. Changes:**
Moved the Class Color Override setting for unitframes to the health tab.
Added EP Boss one debuffs to Raid Debuffs.
___
### Version 11.20 [ July 29th 2019 ]
......
......@@ -1238,6 +1238,15 @@ local function GetOptionsTable_Health(isGroupFrame, updateFunc, groupName, numUn
type = 'execute',
func = function() ACD:SelectGroup("ElvUI", "unitframe", "generalOptionsGroup", "allColorsGroup", "healthGroup") end,
},
colorOverride = {
order = 8,
name = L["Class Color Override"],
desc = L["Override the default class color setting."],
type = 'select',
values = colorOverrideValues,
get = function(info) return E.db.unitframe.units[groupName][info[#info]] end,
set = function(info, value) E.db.unitframe.units[groupName][info[#info]] = value; updateFunc(UF, groupName, numUnits) end,
},
text_format = {
order = 10,
name = L["Text Format"],
......@@ -3901,13 +3910,6 @@ E.Options.args.unitframe.args.player = {
desc = L["Set the orientation of the UnitFrame."],
values = orientationValues,
},
colorOverride = {
order = 10,
name = L["Class Color Override"],
desc = L["Override the default class color setting."],
type = 'select',
values = colorOverrideValues,
},
spacer = {
order = 11,
type = "description",
......@@ -4523,13 +4525,6 @@ E.Options.args.unitframe.args.target = {
desc = L["Set the orientation of the UnitFrame."],
values = orientationValues,
},
colorOverride = {
order = 11,
name = L["Class Color Override"],
desc = L["Override the default class color setting."],
type = 'select',
values = colorOverrideValues,
},
disableMouseoverGlow = {
order = 12,
type = "toggle",
......@@ -4757,13 +4752,6 @@ E.Options.args.unitframe.args.targettarget = {
desc = L["Set the orientation of the UnitFrame."],
values = orientationValues,
},
colorOverride = {
order = 10,
name = L["Class Color Override"],
desc = L["Override the default class color setting."],
type = 'select',
values = colorOverrideValues,
},
spacer = {
order = 11,
type = "description",
......@@ -4891,13 +4879,6 @@ E.Options.args.unitframe.args.targettargettarget = {
desc = L["Set the orientation of the UnitFrame."],
values = orientationValues,
},
colorOverride = {
order = 10,
name = L["Class Color Override"],
desc = L["Override the default class color setting."],
type = 'select',
values = colorOverrideValues,
},
spacer = {
order = 11,
type = "description",
......@@ -5025,13 +5006,6 @@ E.Options.args.unitframe.args.focus = {
desc = L["Set the orientation of the UnitFrame."],
values = orientationValues,
},
colorOverride = {
order = 10,
name = L["Class Color Override"],
desc = L["Override the default class color setting."],
type = 'select',
values = colorOverrideValues,
},
disableMouseoverGlow = {
order = 11,
type = "toggle",
......@@ -5157,13 +5131,6 @@ E.Options.args.unitframe.args.focustarget = {
desc = L["Set the orientation of the UnitFrame."],
values = orientationValues,
},
colorOverride = {
order = 10,
name = L["Class Color Override"],
desc = L["Override the default class color setting."],
type = 'select',
values = colorOverrideValues,
},
spacer = {
order = 11,
type = "description",
......@@ -5291,13 +5258,6 @@ E.Options.args.unitframe.args.pet = {
desc = L["Set the orientation of the UnitFrame."],
values = orientationValues,
},
colorOverride = {
order = 10,
name = L["Class Color Override"],
desc = L["Override the default class color setting."],
type = 'select',
values = colorOverrideValues,
},
disableMouseoverGlow = {
order = 11,
type = "toggle",
......@@ -5454,13 +5414,6 @@ E.Options.args.unitframe.args.pettarget = {
desc = L["Set the orientation of the UnitFrame."],
values = orientationValues,
},
colorOverride = {
order = 10,
name = L["Class Color Override"],
desc = L["Override the default class color setting."],
type = 'select',
values = colorOverrideValues,
},
spacer = {
order = 11,
type = "description",
......@@ -5607,13 +5560,6 @@ E.Options.args.unitframe.args.boss = {
desc = L["Set the orientation of the UnitFrame."],
values = orientationValues,
},
colorOverride = {
order = 15,
name = L["Class Color Override"],
desc = L["Override the default class color setting."],
type = 'select',
values = colorOverrideValues,
},
disableMouseoverGlow = {
order = 16,
type = "toggle",
......@@ -5743,13 +5689,6 @@ E.Options.args.unitframe.args.arena = {
name = L["Spacing"],
min = 0, max = 400, step = 1,
},
colorOverride = {
order = 14,
name = L["Class Color Override"],
desc = L["Override the default class color setting."],
type = 'select',
values = colorOverrideValues,
},
smartAuraPosition = {
order = 15,
type = "select",
......@@ -5914,13 +5853,6 @@ E.Options.args.unitframe.args.party = {
name = L["Threat Display Mode"],
values = threatValues,
},
colorOverride = {
order = 7,
name = L["Class Color Override"],
desc = L["Override the default class color setting."],
type = 'select',
values = colorOverrideValues,
},
orientation = {
order = 8,
type = "select",
......@@ -6565,13 +6497,6 @@ E.Options.args.unitframe.args.raid = {
name = L["Threat Display Mode"],
values = threatValues,
},
colorOverride = {
order = 7,
name = L["Class Color Override"],
desc = L["Override the default class color setting."],
type = 'select',
values = colorOverrideValues,
},
orientation = {
order = 8,
type = "select",
......@@ -7038,13 +6963,6 @@ E.Options.args.unitframe.args.raid40 = {
name = L["Threat Display Mode"],
values = threatValues,
},
colorOverride = {
order = 7,
name = L["Class Color Override"],
desc = L["Override the default class color setting."],
type = 'select',
values = colorOverrideValues,
},
orientation = {
order = 8,
type = "select",
......@@ -7503,13 +7421,6 @@ E.Options.args.unitframe.args.raidpet = {
name = L["Threat Display Mode"],
values = threatValues,
},
colorOverride = {
order = 6,
name = L["Class Color Override"],
desc = L["Override the default class color setting."],
type = 'select',
values = colorOverrideValues,
},
orientation = {
order = 7,
type = "select",
......@@ -7800,13 +7711,6 @@ E.Options.args.unitframe.args.tank = {
desc = L["Set the orientation of the UnitFrame."],
values = orientationValues,
},
colorOverride = {
order = 8,
name = L["Class Color Override"],
desc = L["Override the default class color setting."],
type = 'select',
values = colorOverrideValues,
},
disableMouseoverGlow = {
order = 9,
type = "toggle",
......@@ -7871,13 +7775,6 @@ E.Options.args.unitframe.args.tank = {
desc = L["An Y offset (in pixels) to be used when anchoring new frames."],
min = -500, max = 500, step = 1,
},
colorOverride = {
order = 8,
name = L["Class Color Override"],
desc = L["Override the default class color setting."],
type = 'select',
values = colorOverrideValues,
},
name = GetOptionsTable_Name(UF.CreateAndUpdateHeaderGroup, 'tank'),
},
},
......@@ -8007,13 +7904,6 @@ E.Options.args.unitframe.args.assist = {
desc = L["Set the orientation of the UnitFrame."],
values = orientationValues,
},
colorOverride = {
order = 8,
name = L["Class Color Override"],
desc = L["Override the default class color setting."],
type = 'select',
values = colorOverrideValues,
},
disableMouseoverGlow = {
order = 9,
type = "toggle",
......@@ -8078,13 +7968,6 @@ E.Options.args.unitframe.args.assist = {
desc = L["An Y offset (in pixels) to be used when anchoring new frames."],
min = -500, max = 500, step = 1,
},
colorOverride = {
order = 8,
name = L["Class Color Override"],
desc = L["Override the default class color setting."],
type = 'select',
values = colorOverrideValues,
},
name = GetOptionsTable_Name(UF.CreateAndUpdateHeaderGroup, 'assist'),
},
},
......
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