Skip to content

Commit

Permalink
Update spring.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocean-OS authored Dec 26, 2024
1 parent 6f13a8b commit 5a89e00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/svelte/src/motion/spring.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ export function spring(value, opts = {}) {
inv_mass,
opts: spring,
settled: true,
//@ts-ignore
dt: ((now - last_time) * 60) / 1000
};
// @ts-ignore
Expand Down

0 comments on commit 5a89e00

Please sign in to comment.