diff --git a/src/App.jsx b/src/App.jsx index f32a33b..cbe4464 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -243,6 +243,12 @@ export default function App({ onSwitchToGame }) { emit(); }; + const handleClearCanvas = () => { + if (state.isRunning) stopAudio(); + deserialize({ modules: [], connections: [] }); + emit(); + }; + return (
{/* Toolbar */} @@ -269,6 +275,9 @@ export default function App({ onSwitchToGame }) { +
{state.isRunning ? '● LIVE' : '○ OFF'}