Commit fc28c1de authored by Benik's avatar Benik

Remove Style Auras option

parent 4fec9f62
...@@ -145,14 +145,6 @@ local function Core() ...@@ -145,14 +145,6 @@ local function Core()
get = function(info) return E.db.benikui.general[ info[#info] ] end, get = function(info) return E.db.benikui.general[ info[#info] ] end,
set = function(info, value) E.db.benikui.general[ info[#info] ] = value; E:StaticPopup_Show('PRIVATE_RL'); end, set = function(info, value) E.db.benikui.general[ info[#info] ] = value; E:StaticPopup_Show('PRIVATE_RL'); end,
}, },
auras = {
order = 4,
type = 'toggle',
name = L['Style Auras'],
disabled = function() return E.db.benikui.general.benikuiStyle ~= true end,
get = function(info) return E.db.benikui.general[ info[#info] ] end,
set = function(info, value) E.db.benikui.general[ info[#info] ] = value; E:StaticPopup_Show('PRIVATE_RL'); end,
},
spacer = { spacer = {
order = 5, order = 5,
type = 'header', type = 'header',
......
...@@ -33,7 +33,6 @@ P['benikui'] = { ...@@ -33,7 +33,6 @@ P['benikui'] = {
['benikuiStyle'] = true, ['benikuiStyle'] = true,
['hideStyle'] = false, ['hideStyle'] = false,
['shadows'] = true, ['shadows'] = true,
['auras'] = true,
['loginMessage'] = true, ['loginMessage'] = true,
['splashScreen'] = true, ['splashScreen'] = true,
}, },
......
...@@ -9,10 +9,7 @@ if E.private.auras.masque.buffs or E.private.auras.masque.debuffs then return en ...@@ -9,10 +9,7 @@ if E.private.auras.masque.buffs or E.private.auras.masque.debuffs then return en
A.CreateIconBui = A.CreateIcon A.CreateIconBui = A.CreateIcon
function A:CreateIcon(button) function A:CreateIcon(button)
self:CreateIconBui(button) self:CreateIconBui(button)
if E.db.benikui.general.auras then if E.db.benikui.general.shadows then
button:Style('Inside', _, true)
button.texture:SetTexCoord(unpack(BUI.TexCoords))
elseif E.db.benikui.general.benikuiStyle and E.db.benikui.general.shadows then
if not button.shadow then if not button.shadow then
button:CreateSoftShadow() button:CreateSoftShadow()
end end
......
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