mirror of
https://example.com
synced 2024-11-25 00:36:39 +09:00
adjust MkNumber tween time
This commit is contained in:
parent
96311b597c
commit
92572157fa
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ const tweened = reactive({
|
|||
});
|
||||
|
||||
watch(() => props.value, (n) => {
|
||||
gsap.to(tweened, { duration: 1, number: Number(n) || 0 });
|
||||
gsap.to(tweened, { duration: 0.6, number: Number(n) || 0 });
|
||||
}, {
|
||||
immediate: true,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue