From aef640afd7cddddb62012469c134dbf9fae91ba3 Mon Sep 17 00:00:00 2001 From: David Haz Date: Sun, 15 Mar 2026 12:35:13 +0200 Subject: [PATCH] update shape type to OrbitShape for better type safety --- src/demo/Animations/OrbitImagesDemo.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/demo/Animations/OrbitImagesDemo.vue b/src/demo/Animations/OrbitImagesDemo.vue index 8383b6d..4d899b7 100644 --- a/src/demo/Animations/OrbitImagesDemo.vue +++ b/src/demo/Animations/OrbitImagesDemo.vue @@ -124,6 +124,7 @@ import PreviewSwitch from '../../components/common/PreviewSwitch.vue'; import PreviewSelect from '../../components/common/PreviewSelect.vue'; import RefreshButton from '../../components/common/RefreshButton.vue'; import OrbitImages from '../../content/Animations/OrbitImages/OrbitImages.vue'; +import type { OrbitShape } from '../../content/Animations/OrbitImages/OrbitImages.vue'; import { orbitImages } from '@/constants/code/Animations/orbitImagesCode'; import { useForceRerender } from '@/composables/useForceRerender'; @@ -138,7 +139,7 @@ const images = [ 'https://picsum.photos/300/300?grayscale&random=6' ]; -const shape = ref('ellipse'); +const shape = ref('ellipse'); const radiusX = ref(340); const radiusY = ref(80); const radius = ref(160);