Commit fc28c1de authored by Benik's avatar Benik

Remove Style Auras option

parent 4fec9f62
......@@ -145,14 +145,6 @@ local function Core()
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,
},
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 = {
order = 5,
type = 'header',
......
......@@ -33,7 +33,6 @@ P['benikui'] = {
['benikuiStyle'] = true,
['hideStyle'] = false,
['shadows'] = true,
['auras'] = true,
['loginMessage'] = true,
['splashScreen'] = true,
},
......
......@@ -9,10 +9,7 @@ if E.private.auras.masque.buffs or E.private.auras.masque.debuffs then return en
A.CreateIconBui = A.CreateIcon
function A:CreateIcon(button)
self:CreateIconBui(button)
if E.db.benikui.general.auras 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 E.db.benikui.general.shadows then
if not button.shadow then
button:CreateSoftShadow()
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