From 368e6681977d85b24c3859e8a870c4c0202f35d0 Mon Sep 17 00:00:00 2001 From: Miika Alonen Date: Tue, 29 Aug 2023 16:09:05 +0300 Subject: [PATCH] Set isPlaying to false on stop --- src/main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.ts b/src/main.ts index f71fe60..0ca6db0 100644 --- a/src/main.ts +++ b/src/main.ts @@ -463,6 +463,7 @@ export class Editor { this.stop_buttons.forEach((button) => { button.addEventListener("click", () => { this.setButtonHighlighting("stop", true); + this.isPlaying = false; this.clock.stop(); }); });