Commit 4a5b736a authored by Azilroka's avatar Azilroka

PA Stuff

parent 10b2de52
......@@ -95,7 +95,7 @@ end
PA.Title = GetAddOnMetadata('ProjectAzilroka', 'Title')
PA.Version = GetAddOnMetadata('ProjectAzilroka', 'Version')
PA.Authors = GetAddOnMetadata('ProjectAzilroka', 'Author'):gsub(", ", " ")
PA.Authors = GetAddOnMetadata('ProjectAzilroka', 'Author'):gsub(', ', ' ')
PA.AllPoints = { CENTER = 'CENTER', BOTTOM = 'BOTTOM', TOP = 'TOP', LEFT = 'LEFT', RIGHT = 'RIGHT', BOTTOMLEFT = 'BOTTOMLEFT', BOTTOMRIGHT = 'BOTTOMRIGHT', TOPLEFT = 'TOPLEFT', TOPRIGHT = 'TOPRIGHT' }
......@@ -513,7 +513,7 @@ PA.Defaults = {
}
}
PA.Options = PA.ACH:Group(PA:Color(PA.Title), nil, 6, 'tree')
PA.Options = PA.ACH:Group(PA:Color(PA.Title), nil, 6)
function PA:GetOptions()
PA.AceOptionsPanel.Options.args.ProjectAzilroka = PA.Options
......@@ -553,6 +553,8 @@ function PA:PLAYER_LOGIN()
PA.EP = LibStub('LibElvUIPlugin-1.0', true)
PA.AceOptionsPanel = PA.ElvUI and _G.ElvUI[1] or PA.EC
PA.Options.childGroups = PA.EC and 'tab' or 'tree'
for _, module in PA:IterateModules() do
if module.BuildProfile then PA:CallModuleFunction(module, module.BuildProfile) end
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