-
Notifications
You must be signed in to change notification settings - Fork 68
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
Repeat broken after first iteration #42
Comments
This isn't an issue in #38 so let's try to get that through. Probs one of the things I said would be broken in the intermediary, but lemme try and find the bug real quick to confirm. |
Yeah, it's because progress is no longer bound to the 0,1 range and instead keeps increasing forever. |
djeedai
added a commit
that referenced
this issue
Sep 27, 2022
Fix the repeat mode being broken after the first iteration due to `AnimClock::progress()` reporting a progress greater than `1.`, which was breaking the logic of `Tween` and `Lens`. Fixes #42
djeedai
added a commit
that referenced
this issue
Sep 28, 2022
Fix the repeat mode being broken after the first iteration due to `AnimClock::progress()` reporting a progress greater than `1.`, which was breaking the logic of `Tween` and `Lens`. Also fix `Tween::rewind()` not restoring the original tween direction when using a repeat strategy of `RepeatStrategy::MirroredRepeat`. Fixes #42
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run any example (except
menu
currently broken due to #41) : the color animation goes from red to blue smoothly during the first loop, then from the second loop ping-pongs between full red and full blue without any interpolation.@SUPERCILEX this is probably due to a bug in #19.
This is blocking #34
The text was updated successfully, but these errors were encountered: