from retail

This commit is contained in:
NoM0Re
2025-01-24 21:18:29 +01:00
parent b831fb4009
commit bd6985e67a
8 changed files with 178 additions and 84 deletions
+8 -3
View File
@@ -359,7 +359,7 @@ function Private.getDefaultGlow(regionType)
glowYOffset = 0,
glow_anchor = "bar"
}
elseif regionType == "icon" then
else
return {
["type"] = "subglow",
glow = false,
@@ -378,9 +378,14 @@ function Private.getDefaultGlow(regionType)
end
end
local supportedRegion = {
icon = true,
aurabar = true,
texture = true,
progresstexture = true
}
local function supports(regionType)
return regionType == "icon"
or regionType == "aurabar"
return supportedRegion[regionType]
end
local function addDefaultsForNewAura(data)