add autodraw flag

This commit is contained in:
Felix Roos
2023-12-16 16:19:18 +01:00
parent 7fcd9d8a83
commit c29d032027
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -52,6 +52,7 @@ export function MicroRepl({
defaultOutput: webaudioOutput,
getTime: () => getAudioContext().currentTime,
transpiler,
autodraw: !!shouldDraw,
root: containerRef.current,
initialCode: '// LOADING',
pattern: silence,