Merge pull request #548 from tidalcycles/stop-pause
fix: reset time on stop
This commit is contained in:
commit
8edb086178
1 changed files with 1 additions and 0 deletions
|
|
@ -74,6 +74,7 @@ export class Cyclist {
|
||||||
stop() {
|
stop() {
|
||||||
logger('[cyclist] stop');
|
logger('[cyclist] stop');
|
||||||
this.clock.stop();
|
this.clock.stop();
|
||||||
|
this.lastEnd = 0;
|
||||||
this.setStarted(false);
|
this.setStarted(false);
|
||||||
}
|
}
|
||||||
setPattern(pat, autostart = false) {
|
setPattern(pat, autostart = false) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue