rename to restart

This commit is contained in:
Felix Roos 2022-04-22 23:01:37 +02:00
parent ecfc6fd31e
commit ab14d70c6c

View File

@ -722,7 +722,7 @@ export class Pattern {
return this._withContext((context) => ({ ...context, velocity: (context.velocity || 1) * velocity }));
}
reset(pat) {
restart(pat) {
pat = reify(pat);
return new Pattern((state) =>
pat