-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Whenever I press on restart clock counter, it "restarts" but with a faster pace #6
Comments
TOTON95
changed the title
[Bug] Whenever I press on restart clock counter "restarts" but with a faster pace
[Bug] Whenever I press on restart clock counter, it "restarts" but with a faster pace
Jun 18, 2022
The problem must be here: Lines 133 to 135 in f213d93
clearTimeout is not as fast?
|
@fferegrino it could be, also it might be a good idea to add a Line 128 in f213d93
setInterval
|
On a second review, I noticed it that it's more related to the start button than the restart, it can be fixed with adding |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As the title indicates, whenever I attempt to restart the counter I can get it returned to the desired value, but it seems that there's a hidden accumulation of time difference between each counter state (?), which can be increased as much as I keep pressing the
Restart
button.The text was updated successfully, but these errors were encountered: