mirror of
https://github.com/eliasstepanik/strudel.git
synced 2026-01-11 13:48:40 +00:00
hotfix: another slight logic error
This commit is contained in:
parent
9a07b15952
commit
307c69edb9
@ -130,7 +130,7 @@ export function Repl({ embedded = false }) {
|
||||
editorRef.current.repl.setCps(1);
|
||||
await prebake(); // declare default samples
|
||||
}
|
||||
if (newCode && isDirty) {
|
||||
if (newCode) {
|
||||
editorRef.current.setCode(newCode);
|
||||
editorRef.current.repl.evaluate(newCode);
|
||||
} else if (isDirty) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user