Skip to content

Commit b8047ba

Browse files
committed
fix: overwrite #last_value when Spring is with
1 parent ab1f7f4 commit b8047ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/svelte/src/motion/spring.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ export class Spring {
282282
this.#task?.abort();
283283
this.#task = null;
284284
set(this.#current, set(this.#target, value));
285+
this.#last_value = value;
285286
return Promise.resolve();
286287
}
287288

0 commit comments

Comments
 (0)