From 37ef9b70a3cc2e13bd32635925fdcf2ca750f3ea Mon Sep 17 00:00:00 2001
From: syuilo <Syuilotan@yahoo.co.jp>
Date: Sat, 31 Dec 2022 21:10:25 +0900
Subject: :art:

---
 packages/frontend/src/components/MkNumber.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'packages/frontend/src/components/MkNumber.vue')

diff --git a/packages/frontend/src/components/MkNumber.vue b/packages/frontend/src/components/MkNumber.vue
index f54ec764f9..58279be0b6 100644
--- a/packages/frontend/src/components/MkNumber.vue
+++ b/packages/frontend/src/components/MkNumber.vue
@@ -1,5 +1,5 @@
 <template>
-<span>{{ number(tweened.number.toFixed(0)) }}</span>
+<span>{{ number(Math.floor(tweened.number)) }}</span>
 </template>
 
 <script lang="ts" setup>
@@ -16,7 +16,7 @@ const tweened = reactive({
 });
 
 watch(() => props.value, (n) => {
-	gsap.to(tweened, { duration: 0.5, number: Number(n) || 0 });
+	gsap.to(tweened, { duration: 1, number: Number(n) || 0 });
 }, {
 	immediate: true,
 });
-- 
cgit v1.2.3-freya

