diff --git a/src/App.tsx b/src/App.tsx index 1d71eb6..b92e8a2 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -192,7 +192,6 @@ export default function App() { onPlay={animation.play} onPause={animation.pause} onSpeedChange={animation.setSpeed} - onClose={animation.deactivate} /> )} diff --git a/src/components/AnimationPlayer.tsx b/src/components/AnimationPlayer.tsx index bb50ac3..e8ef05b 100644 --- a/src/components/AnimationPlayer.tsx +++ b/src/components/AnimationPlayer.tsx @@ -9,7 +9,6 @@ interface AnimationPlayerProps { onPlay: () => void; onPause: () => void; onSpeedChange: (s: 1 | 2 | 4) => void; - onClose: () => void; } export function AnimationPlayer({ @@ -21,7 +20,6 @@ export function AnimationPlayer({ onPlay, onPause, onSpeedChange, - onClose, }: AnimationPlayerProps) { const frame = frames[currentIndex]; @@ -93,14 +91,6 @@ export function AnimationPlayer({ ))} - {/* Close */} -