Skip to content
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.

Cooldown updates do not clear old cooldown timer #68

Open
dori4n opened this issue Jul 11, 2018 · 0 comments
Open

Cooldown updates do not clear old cooldown timer #68

dori4n opened this issue Jul 11, 2018 · 0 comments

Comments

@dori4n
Copy link

dori4n commented Jul 11, 2018

When a button cooldown is updated via the interactive service, the previous timer that shows that a button is on cooldown is not cleared, and all timers will continue to update the text until they run out, this causes the time shown to flicker between two or more values.
The timer should be cleared when the new one is added such that there is only one timer active per button.
Probably something going wrong in setCountdown() src/alchemy/preact/Cooldown.tsx. Please fix. 😗

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant