From 4c0f215fc5973c2ee9e11df68127f074e3f27e31 Mon Sep 17 00:00:00 2001 From: syuilo <4439005+syuilo@users.noreply.github.com> Date: Tue, 18 Nov 2025 16:23:57 +0900 Subject: [PATCH] refactor --- .../src/components/global/MkSystemIcon.vue | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/packages/frontend/src/components/global/MkSystemIcon.vue b/packages/frontend/src/components/global/MkSystemIcon.vue index d2ef0fb2d8..971c13478e 100644 --- a/packages/frontend/src/components/global/MkSystemIcon.vue +++ b/packages/frontend/src/components/global/MkSystemIcon.vue @@ -5,31 +5,31 @@ SPDX-License-Identifier: AGPL-3.0-only @@ -80,15 +80,15 @@ const props = defineProps<{ } .animLine { - stroke-dasharray: var(--l); - stroke-dashoffset: var(--l); + stroke-dasharray: 1; + stroke-dashoffset: 1; animation: line var(--duration, 0.5s) cubic-bezier(0,0,.25,1) 1 forwards; animation-delay: var(--delay, 0s); } .animCircle { - stroke-dasharray: var(--l); - stroke-dashoffset: var(--l); + stroke-dasharray: 1; + stroke-dashoffset: 1; animation: line var(--duration, 0.5s) cubic-bezier(0,0,.25,1) 1 forwards; animation-delay: var(--delay, 0s); transform-origin: center; @@ -96,8 +96,8 @@ const props = defineProps<{ } .animCircleWaiting { - stroke-dasharray: var(--l); - stroke-dashoffset: calc(var(--l) / 1.5); + stroke-dasharray: 1; + stroke-dashoffset: calc(1 / 1.5); animation: waiting 0.75s linear infinite; transform-origin: center; } @@ -110,7 +110,7 @@ const props = defineProps<{ @keyframes line { 0% { - stroke-dashoffset: var(--l); + stroke-dashoffset: 1; opacity: 0; } 100% {