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:
2026-07-19 01:41:04 +02:00
parent 284f26b8b4
commit 015891449e
4 changed files with 14 additions and 3 deletions
+11
View File
@@ -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