Sometimes icons do not hide when cooldown finishes
SweepyBoop opened this issue ยท 4 comments
local function OnCooldownTimerFinished(self)
StopAnimation(self:GetParent());
NS.FinishCooldownTimer(self);
end
NS.FinishCooldownTimer = function (self)
NS.RefreshCooldownTimer(self, true);
end
if ( start ~= math.huge ) and ( duration ~= math.huge ) then
icon.cooldown:SetCooldown(start, duration);
if icon.Count then
icon.Count:SetText(stack and "#" or "");
end
else
This also needs to check against current time