Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

⏯️ Better Support for Interrupted Animations

Compare
Choose a tag to compare
@parkerziegler parkerziegler released this 18 Sep 18:51
· 91 commits to saturn since this release

This release adds better support for interrupted and reactive animations. When an animation is interrupted mid-flight (say, by a change in its to parameter or part of its physics config), it will begin animating from its curernt position to the new target rather than restarting at its from definition. There are no changes to the public API.

Changed

  • Interrupted and reactive animations now start from the cached state of the currently animating object rather than from their from config. PR by @parkerziegler here.

Diff