From e6022711434080e20cbc8fd55ea3d4c3c7914172 Mon Sep 17 00:00:00 2001 From: Raphael Forment Date: Fri, 27 Oct 2023 15:12:13 +0200 Subject: [PATCH] Just plain weird fix for bpm change --- src/Clock.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Clock.ts b/src/Clock.ts index 8dff62c..1f8e330 100644 --- a/src/Clock.ts +++ b/src/Clock.ts @@ -138,6 +138,7 @@ export class Clock { set bpm(bpm: number) { if (bpm > 0 && this._bpm !== bpm) { this.transportNode?.setBPM(bpm); + this._bpm = bpm } }