fix(libs): pick up coa-ace3 3ec2009 (BlizOptionsGroup + Settings.* CoA-compat)
Re-sync after coa-ace3 3ec2009 added two CoA-compat patches:
- AceGUI-3.0/widgets/AceGUIContainer-BlizOptionsGroup.lua: parent
falls back to UIParent when InterfaceOptionsFramePanelContainer is nil
- AceConfig-3.0/AceConfigDialog-3.0: Settings.* block guarded with
fallback to InterfaceOptions_AddCategory on WotLK-era clients
Without these, every addon registering a Blizzard Interface Options
panel via AceConfigDialog errors on load on the CoA client.
This commit is contained in:
@@ -99,7 +99,11 @@ local methods = {
|
||||
Constructor
|
||||
-------------------------------------------------------------------------------]]
|
||||
local function Constructor()
|
||||
local frame = CreateFrame("Frame", nil, InterfaceOptionsFramePanelContainer)
|
||||
-- CoA-compat: InterfaceOptionsFramePanelContainer is a global from the stock 3.3.5
|
||||
-- Interface Options frame; on the CoA reworked FrameXML it can be nil at the time
|
||||
-- AceGUI widgets are constructed. Fall back to UIParent so CreateFrame doesn't blow up.
|
||||
local _parent = InterfaceOptionsFramePanelContainer or UIParent
|
||||
local frame = CreateFrame("Frame", nil, _parent)
|
||||
frame:Hide()
|
||||
|
||||
-- support functions for the Blizzard Interface Options
|
||||
|
||||
Reference in New Issue
Block a user