Skip to content
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

Fix #1292: setCurrentTime condition fix #1314

Merged
merged 3 commits into from
Jan 26, 2018

Conversation

roboswank
Copy link
Contributor

@roboswank roboswank commented Jan 26, 2018

Short description of changes:

Check that seconds is greater than or equal to duration and not the other way around.
Just fixed a reversed condition. this.getDuration() >= seconds should [generally always] be true and was causing legitimate sets to skip to the end.

Related Issues and other PRs:

fixes #1292
#1046

roboswank and others added 3 commits January 25, 2018 21:04
Check that seconds is greater than or equal to duration and not the other way around.
@thijstriemstra thijstriemstra merged commit 48e1ab9 into katspaugh:master Jan 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

setCurrentTime function bug
2 participants