Merge pull request #548 from tidalcycles/stop-pause

fix: reset time on stop
This commit is contained in:
Felix Roos 2023-03-29 22:23:07 +02:00 committed by GitHub
commit 8edb086178
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,6 +74,7 @@ export class Cyclist {
stop() {
logger('[cyclist] stop');
this.clock.stop();
this.lastEnd = 0;
this.setStarted(false);
}
setPattern(pat, autostart = false) {