fix: reset time on stop

This commit is contained in:
Felix Roos 2023-03-29 22:05:13 +02:00
parent 98b6c11a82
commit 6de2feff05

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) {