Skip to content

Commit

Permalink
Fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgperry committed Jan 23, 2024
1 parent 418fdab commit 1f41303
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/framer-motion/src/value/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,8 @@ export class MotionValue<V = any> {

setWithVelocity(prev: V, current: V, delta: number) {
this.set(current)
this.prev = prev
this.prev = undefined
this.prevFrameValue = prev
this.prevUpdatedAt = this.updatedAt - delta
}

Expand Down

0 comments on commit 1f41303

Please sign in to comment.