From e4d8a664f76774c2ef4b7f9ddb188c419204d530 Mon Sep 17 00:00:00 2001 From: Robert Kossessa Date: Fri, 2 Feb 2024 04:08:07 +0100 Subject: [PATCH] FIX: Demo animation again --- src/components/device/DevicePreview.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/device/DevicePreview.vue b/src/components/device/DevicePreview.vue index 8a8f280..7f5109d 100644 --- a/src/components/device/DevicePreview.vue +++ b/src/components/device/DevicePreview.vue @@ -47,6 +47,7 @@ onMounted(() => { console.log(step) console.log(anim) anim = setInterval(() => { + clearInterval(step) const target = Math.floor(Math.random() * 127) step = setInterval(() => { const intVal = Math.floor(value.value)