Set isPlaying to false on stop

This commit is contained in:
2023-08-29 16:09:05 +03:00
parent 0d3424a0c6
commit 368e668197

View File

@ -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();
});
});