Commit b1620a79 authored by Blazeflack's avatar Blazeflack

Release v2.35

parent 16ed3b2f
<p><strong>2.35 June 29th 2019</strong></p>
<ul>
<li>Fixed error regarding AceLocale.</li>
<li>Moved configuration to the "Plugins" category.</li>
<li>Changed license to an open one.</li>
<li>Updated toc.</li>
</ul>
<br />
<p><strong>2.34 July 28th 2018</strong></p>
<ul>
<li>Updated and fixed .toc file.</li>
......
## Interface: 80000
## Interface: 80200
## Author: Blazeflack
## Version: 2.34
## Version: 2.35
## Title: |cff1784d1ElvUI|r ExtraActionBars
## Notes: Adds 4 extra actionbars to ElvUI.
## RequiredDeps: ElvUI
......
This diff is collapsed.
......@@ -84,15 +84,6 @@ P['actionbar']['bar10'] = {
}
function EAB:InsertOptions()
if not E.Options.args.blazeplugins then
E.Options.args.blazeplugins = {
order = -2,
type = 'group',
name = 'Plugins (by Blazeflack)',
args = {},
}
end
local points = {
['TOPLEFT'] = 'TOPLEFT',
['TOPRIGHT'] = 'TOPRIGHT',
......@@ -100,7 +91,7 @@ function EAB:InsertOptions()
['BOTTOMRIGHT'] = 'BOTTOMRIGHT',
}
E.Options.args.blazeplugins.args.EAB = {
E.Options.args.plugins.args.EAB = {
order = 40,
type = 'group',
name = 'ExtraActionBars',
......@@ -109,14 +100,14 @@ function EAB:InsertOptions()
args = {},
}
local group = E.Options.args.blazeplugins.args.EAB.args
local group = E.Options.args.plugins.args.EAB.args
for i = 7, 10 do
local name = L['Bar ']..i
group['bar'..i] = {
order = i,
name = name,
type = 'group',
disabled = function() return not E.private.actionbar.enable end,
disabled = function() return not E.ActionBars.Initialized end,
get = function(info) return E.db.actionbar['bar'..i][ info[#info] ] end,
set = function(info, value) E.db.actionbar['bar'..i][ info[#info] ] = value; AB:PositionAndSizeBar('bar'..i) end,
args = {
......@@ -254,6 +245,10 @@ function EAB:InsertOptions()
multiline = true,
get = function(info) return E.db.actionbar['bar'..i]['paging'][E.myclass] end,
set = function(info, value)
if value and value:match('[\n\r]') then
value = value:gsub('[\n\r]','')
end
if not E.db.actionbar['bar'..i]['paging'][E.myclass] then
E.db.actionbar['bar'..i]['paging'][E.myclass] = {}
end
......@@ -270,6 +265,9 @@ function EAB:InsertOptions()
width = 'full',
multiline = true,
set = function(info, value)
if value and value:match('[\n\r]') then
value = value:gsub('[\n\r]','')
end
E.db.actionbar['bar'..i]['visibility'] = value;
AB:UpdateButtonSettings()
end,
......
-- English localization file for enUS and enGB.
local L = LibStub("AceLocale-3.0"):NewLocale("ElvUI", "enUS", true);
local L = LibStub("AceLocale-3.0-ElvUI"):NewLocale("ElvUI", "enUS", true);
if not L then return end
--Nothing yet
......
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