From 92572157fabb7204aa07f242703b714dad14b7b9 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Wed, 15 Feb 2023 10:34:17 -0800 Subject: [PATCH] adjust MkNumber tween time --- packages/client/src/components/MkNumber.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/components/MkNumber.vue b/packages/client/src/components/MkNumber.vue index 58279be0b..f24b36237 100644 --- a/packages/client/src/components/MkNumber.vue +++ b/packages/client/src/components/MkNumber.vue @@ -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, });