Commit 6cc53c6b authored by Blazeflack's avatar Blazeflack

Remove bar6 since it is now part of ElvUI (EAB)

parent fd70fa77
......@@ -4,22 +4,6 @@ local AB = E:GetModule('ActionBars');
local group
-- Defaults
P['actionbar']['bar6'] = {
['enabled'] = false,
['mouseover'] = false,
['buttons'] = 12,
['buttonsPerRow'] = 12,
['point'] = 'BOTTOMLEFT',
['backdrop'] = true,
['heightMult'] = 1,
['widthMult'] = 1,
['buttonsize'] = 30,
['buttonspacing'] = 4,
['alpha'] = 1,
['paging'] = {},
['visibility'] = '[vehicleui] hide; [overridebar] hide; [petbattle] hide; show',
}
P['actionbar']['bar7'] = {
['enabled'] = false,
['mouseover'] = false,
......@@ -315,7 +299,7 @@ function EAB:InsertOptions()
}
group = E.Options.args.blazeplugins.args.EAB.args
for i = 6, 10 do
for i = 7, 10 do
local name = L['Bar ']..i
group['bar'..i] = {
order = i,
......
......@@ -18,19 +18,13 @@ E.PopupDialogs['EAB_Incompatible'] = {
-- Function we can call or hook to AB:UpdateButtonSettings() so extra bars gets updated
function EAB:UpdateButtonSettings()
for i = 6, 10 do
for i = 7, 10 do
AB:PositionAndSizeBar('bar'..i)
end
end
function EAB:CreateBar()
-- Set defaults.
AB['barDefaults']['bar6'] = {
['page'] = 2,
['bindButtons'] = 'EXTRABAR6BUTTON',
['conditions'] = '',
['position'] = 'BOTTOM,ElvUI_Bar1,TOP,0,42',
}
AB['barDefaults']['bar7'] = {
['page'] = 7,
['bindButtons'] = 'EXTRABAR7BUTTON',
......@@ -57,7 +51,7 @@ function EAB:CreateBar()
}
-- Create the actionbars.
for i = 6, 10 do
for i = 7, 10 do
AB:CreateBar(i)
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