fix: mini repl play toggle button
This commit is contained in:
parent
b5edcde638
commit
9c13f6bb53
2 changed files with 3 additions and 2 deletions
|
|
@ -182,7 +182,7 @@ export class StrudelMirror {
|
|||
}
|
||||
async toggle() {
|
||||
if (this.repl.scheduler.started) {
|
||||
this.repl.scheduler.stop();
|
||||
this.repl.stop();
|
||||
} else {
|
||||
this.evaluate();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue