From 968429e95f0ddf9ab19ee8ae605007734a60d098 Mon Sep 17 00:00:00 2001 From: pushkin Date: Fri, 8 May 2020 02:10:51 +0200 Subject: [PATCH] Update tweened.ts --- src/runtime/motion/tweened.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/motion/tweened.ts b/src/runtime/motion/tweened.ts index abbb3b1aa276..8d9a68aac605 100644 --- a/src/runtime/motion/tweened.ts +++ b/src/runtime/motion/tweened.ts @@ -94,7 +94,7 @@ export function tweened(value?: T, defaults: Options = {}): Tweened { } = assign(assign({}, defaults), opts); if (duration === 0) { - store.set(target_value); + store.set(value = target_value); return Promise.resolve(); }