Add LayerPickerFrame skinning with Instance toggle

Strips the native tooltip-style backdrop pieces off the LayerPickerFrame button and applies the ElvUI backdrop/button style, gated by a new Instance checkbox in the Skins tab.
This commit is contained in:
2026-07-13 15:22:39 +02:00
parent a5a63eede0
commit 619c913d1e
3 changed files with 53 additions and 0 deletions
+11
View File
@@ -8,6 +8,7 @@ E.CoA = CoA
V.CoA = {
extraActionBar = true,
instance = true,
}
local function getOptions()
@@ -38,6 +39,12 @@ local function getOptions()
name = "Extra Action Bar",
desc = "Skin the ExtraActionBar frame.",
},
instance = {
order = 3,
type = "toggle",
name = "Instance",
desc = "Skin the LayerPickerFrame button.",
},
},
},
},
@@ -52,6 +59,10 @@ function CoA:Initialize()
if self.InitializeExtraActionBar then
self:InitializeExtraActionBar()
end
if self.InitializeLayerPicker then
self:InitializeLayerPicker()
end
end
local function InitializeCallback()