adjust MkNumber tween time

This commit is contained in:
ThatOneCalculator 2023-02-15 10:34:17 -08:00
parent 30397887cf
commit 6b6b18fd1c

View File

@ -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,
});