Group CoA anchors under a dedicated CoA category in Toggle Anchors
Registers a COA entry into ElvUI's config-mode dropdown (General/ActionBars/etc.) and tags the Class Resources, Extra Action Bar, and Instance Swap movers with it, so they no longer surface mixed into ElvUI's General/ActionBars anchor filters.
This commit is contained in:
@@ -335,7 +335,18 @@ local function getOptions()
|
||||
E.Options.args.CoA = options
|
||||
end
|
||||
|
||||
local function RegisterMoverCategory()
|
||||
for _, layout in ipairs(E.ConfigModeLayouts) do
|
||||
if layout == "COA" then return end
|
||||
end
|
||||
|
||||
tinsert(E.ConfigModeLayouts, "COA")
|
||||
E.ConfigModeLocalizedStrings.COA = "CoA"
|
||||
end
|
||||
|
||||
function CoA:Initialize()
|
||||
RegisterMoverCategory()
|
||||
|
||||
EP:RegisterPlugin(AddOnName, getOptions)
|
||||
|
||||
if self.InitializeExtraActionBar then
|
||||
|
||||
Reference in New Issue
Block a user