Skin checkboxes with ElvUI when it's loaded

This commit is contained in:
2026-07-07 20:28:24 +02:00
parent 56d53d8f49
commit d716f209cf
2 changed files with 11 additions and 0 deletions
+1
View File
@@ -4,6 +4,7 @@
## Author: Narcasung
## Version: 1.0
## SavedVariables: HideCoADB
## OptionalDeps: ElvUI
HideCoA.lua
Options.lua
+10
View File
@@ -1,3 +1,9 @@
local ElvSkins
if ElvUI then
local E = unpack(ElvUI)
ElvSkins = E:GetModule("Skins")
end
local panel = CreateFrame("Frame")
panel.name = "HideCoAUI"
@@ -38,6 +44,10 @@ for _, frameName in ipairs(HideCoA.FRAMES) do
check.frameName = frameName
if ElvSkins then
ElvSkins:HandleCheckBox(check)
end
check:SetScript("OnClick", function(self)
if not selectedClass then