We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 390305a commit cd5548aCopy full SHA for cd5548a
src/animated/FrameLoop.ts
@@ -59,7 +59,7 @@ const update = () => {
59
position =
60
from +
61
(velocity / (1 - 0.998)) *
62
- (1 - Math.exp(-(1 - 0.998) * (time - controller.startTime)))
+ (1 - Math.exp(-(1 - 0.998) * (time - animation.startTime)))
63
endOfAnimation = Math.abs(animation.lastPosition - position) < 0.1
64
if (endOfAnimation) to = position
65
} else {
0 commit comments