Verified Commit 983822bb authored by Repooc's avatar Repooc

Darth nor I use the -4 for buttonspacing on actionbars... byebye

parent 61a96d39
local SLE, T, E, L, V, P, G = unpack(select(2, ...))
local EC = SLE:NewModule('ElvConfig', 'AceEvent-3.0')
function EC:UpdateActionbars()
-- Change Actionbars min button spacing
for i=1, 10 do
E.Options.args.actionbar.args.playerBars.args['bar'..i].args.buttonGroup.args.buttonSpacing.min = -4
end
E.Options.args.actionbar.args.barPet.args.buttonGroup.args.buttonSpacing.min = -4
E.Options.args.actionbar.args.stanceBar.args.buttonGroup.args.buttonSpacing.min = -4
end
function EC:UpdateUnitframes()
-- Change Group frames min spacing
E.Options.args.unitframe.args.groupUnits.args.boss.args.generalGroup.args.positionsGroup.args.spacing.min = -4
......@@ -41,7 +32,6 @@ end
function EC:ADDON_LOADED(event, addon)
if addon ~= 'ElvUI_OptionsUI' then return end
EC:UnregisterEvent(event)
EC:UpdateActionbars()
EC:UpdateUnitframes()
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