Broken with Baganator (reported to me by a Baganator user)
plusmouse opened this issue ยท 1 comments
Replace the Baganator skinning code with the following to resolve the error. Basically it checks for Baganator having the ElvUI skin enabled, and then applies your function on top.
local function Baganator()
if BUI:IsAddOnEnabled('Baganator') and E.db.benikui.general.benikuiStyle and E.db.benikui.skins.variousSkins.ba then
_G["Baganator"].API.Skins.RegisterListener(function(details)
if _details.regionType == "ButtonFrame" and G["Baganator"].API.Skins.GetCurrentSkin() == "elvui" then
details.region:BuiStyle('Outside')
end
end)
if _G["Baganator"].API.Skins.GetCurrentSkin() == "elvui" then
for _, details in ipairs(_G["Baganator"].API.Skins.GetAllFrames()) do
if details.regionType == "ButtonFrame" then
details.region:BuiStyle('Outside')
end
end
end
end
end