diff --git a/components/animate/AnimationPreview.tsx b/components/animate/AnimationPreview.tsx index 01ce403..16d689c 100644 --- a/components/animate/AnimationPreview.tsx +++ b/components/animate/AnimationPreview.tsx @@ -3,13 +3,6 @@ import { useEffect, useRef, useState } from 'react'; import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; import { Button } from '@/components/ui/button'; -import { - Select, - SelectContent, - SelectItem, - SelectTrigger, - SelectValue, -} from '@/components/ui/select'; import { ToggleGroup, ToggleGroupItem } from '@/components/ui/toggle-group'; import { Play, Pause, RotateCcw, Square, Circle, Type } from 'lucide-react'; import { buildCSS } from '@/lib/animate/cssBuilder'; @@ -63,18 +56,13 @@ export function AnimationPreview({ config, element, onElementChange }: Props) { Preview - + v && setSpeed(v)}> + {SPEEDS.map((s) => ( + + {s.label} + + ))} + {/* Preview canvas */}