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

TweenInfo state changes don't affect in-progress Tweens #193

Closed
Hexcede opened this issue Nov 29, 2022 · 0 comments
Closed

TweenInfo state changes don't affect in-progress Tweens #193

Hexcede opened this issue Nov 29, 2022 · 0 comments
Labels
broken Something isn't right ready - closing soon All done, waiting on merge

Comments

@Hexcede
Copy link

Hexcede commented Nov 29, 2022

A Tween with a computed TweenInfo will animate with the value of the TweenInfo state at the time of the tween's underlying value changing. This means that a computed TweenInfo dependent on the same state as the Tween will not update the Tween. Therefore TweenInfo cannot change based on the underlying value.

Example case where there are conflicts: A progress bar which changes its animation depending on if the progress has increased or if the progress has decreased. For example, if the progress is increasing being a smooth transition, but if it's decreasing, being an instantaneous transition (E.g. TweenInfo.new(0)).


This can be worked around by manually updating the TweenInfo state before the state the Tween is dependent on is updated.

@Hexcede Hexcede added broken Something isn't right not ready - evaluating Currently gauging feedback labels Nov 29, 2022
@dphfox dphfox added ready to work on Enhancements/changes ready to be made and removed not ready - evaluating Currently gauging feedback labels Dec 7, 2022
@dphfox dphfox added this to Fusion 0.3 Feb 1, 2023
@dphfox dphfox moved this to To Do in Fusion 0.3 Feb 1, 2023
@dphfox dphfox moved this from To Do to In Progress in Fusion 0.3 Aug 23, 2023
@dphfox dphfox moved this from In Progress to To Do in Fusion 0.3 Apr 15, 2024
@dphfox dphfox added ready - closing soon All done, waiting on merge and removed ready to work on Enhancements/changes ready to be made labels Jul 3, 2024
@dphfox dphfox closed this as completed Jan 30, 2025
@github-project-automation github-project-automation bot moved this from To Do to Done in Fusion 0.3 Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
broken Something isn't right ready - closing soon All done, waiting on merge
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants