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

馃敋 Fix Animation Completion

Latest
Compare
Choose a tag to compare
@parkerziegler parkerziegler released this 03 Jun 22:56
· 9 commits to saturn since this release

This release fixes a small regression in the way animations complete. When we introduced the repeat API in v0.9.0, we also introduced more complexity around when animations are considered "done". This resulted in occasional instances where an animation wouldn't reach its exact to state; for example, an opacity animation from 0 to 1 might complete at opacity: 0.99927361. This release fixes that behavior to ensure we reach the exact final to state in both repeated and non-repeated animations.

Fixed

  • 鈿狅笍 All animations reach their exact to state on completion, or from state for odd-numbered repeat counts. PR by @parkerziegler here.

Diff