fix aura border hide in testmode

This commit is contained in:
Sumsebrum 2021-06-15 09:06:21 +02:00
parent da5a8ea67d
commit 85f63e590b

View File

@ -92,6 +92,7 @@ function Auras:CreateFrame(unit)
end end
end) end)
Gladdy.buttons[unit].aura = auraFrame
self.frames[unit] = auraFrame self.frames[unit] = auraFrame
self:ResetUnit(unit) self:ResetUnit(unit)
end end
@ -125,7 +126,6 @@ function Auras:UpdateFrame(unit)
else else
auraFrame.icon.overlay:SetVertexColor(0, 0, 0, 1) auraFrame.icon.overlay:SetVertexColor(0, 0, 0, 1)
end end
auraFrame.icon.overlay:Hide()
if Gladdy.db.auraDisableCircle then if Gladdy.db.auraDisableCircle then
auraFrame.cooldown:SetAlpha(0) auraFrame.cooldown:SetAlpha(0)
end end
@ -264,6 +264,7 @@ function Auras:GetOptions()
max = 1, max = 1,
step = 0.1, step = 0.1,
order = 4, order = 4,
width = "full",
}), }),
} }
}, },
@ -293,6 +294,7 @@ function Auras:GetOptions()
min = 0.1, min = 0.1,
max = 2, max = 2,
step = 0.1, step = 0.1,
width = "full",
}), }),
auraFontColor = Gladdy:colorOption({ auraFontColor = Gladdy:colorOption({
type = "color", type = "color",
@ -422,6 +424,7 @@ function Auras:GetAuraOptions(auraType)
set = function(info, value) set = function(info, value)
Gladdy.db.auraListDefault[tostring(k)].priority = value Gladdy.db.auraListDefault[tostring(k)].priority = value
end, end,
width = "full",
} }
} }
} }