Verified Commit 417e9f48 authored by Repooc's avatar Repooc

fix a misspelling and fix error due to Azil cleaning up AB module in ElvUI

parent faaa6a25
......@@ -4,13 +4,13 @@ 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
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
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:UpdateUitframes()
function EC:UpdateUnitframes()
-- Change Group frames min spacing
E.Options.args.unitframe.args.groupUnits.args.boss.args.generalGroup.args.positionsGroup.args.spacing.min = -4
E.Options.args.unitframe.args.groupUnits.args.arena.args.generalGroup.args.positionsGroup.args.spacing.min = -4
......@@ -42,7 +42,7 @@ function EC:ADDON_LOADED(event, addon)
if addon ~= 'ElvUI_OptionsUI' then return end
EC:UnregisterEvent(event)
EC:UpdateActionbars()
EC:UpdateUitframes()
EC:UpdateUnitframes()
end
function EC:Initialize()
......
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