Skip to content

Commit ed59e5e

Browse files
Fix ShaderToyLite running after visualiser was closed
1 parent fcd3497 commit ed59e5e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/visualizer/Visualizer.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
6868
return () => {
6969
visualizer.destroy()
70+
toy?.pause()
7071
}
7172
})
7273

0 commit comments

Comments
 (0)