fix cooldown glow

This commit is contained in:
Sumsebrum 2022-08-17 22:41:29 +02:00
parent fc7042ca87
commit e4cc5568ce

View File

@ -347,7 +347,7 @@ function Cooldowns:ClearIcon(button, index, spellId, icon)
end end
end end
icon:Show() icon:Show()
LCG:PixelGlow_Stop(icon.glow) LCG.PixelGlow_Stop(icon.glow)
if icon.timer then if icon.timer then
icon.timer:Cancel() icon.timer:Cancel()
end end
@ -366,6 +366,8 @@ end
-- Test -- Test
--------------------- ---------------------
-- /run LibStub("Gladdy").modules["Cooldowns"]:AURA_GAIN(_, AURA_TYPE_BUFF, 22812, "Barkskin", _, 20, _, _, _, _, "arena1", true)
-- /run LibStub("Gladdy").modules["Cooldowns"]:AURA_FADE("arena1", 22812)
function Cooldowns:Test(unit) function Cooldowns:Test(unit)
if Gladdy.frame.testing then if Gladdy.frame.testing then
self:UpdateTestCooldowns(unit) self:UpdateTestCooldowns(unit)