Set isPlaying to false on stop
This commit is contained in:
@ -463,6 +463,7 @@ export class Editor {
|
|||||||
this.stop_buttons.forEach((button) => {
|
this.stop_buttons.forEach((button) => {
|
||||||
button.addEventListener("click", () => {
|
button.addEventListener("click", () => {
|
||||||
this.setButtonHighlighting("stop", true);
|
this.setButtonHighlighting("stop", true);
|
||||||
|
this.isPlaying = false;
|
||||||
this.clock.stop();
|
this.clock.stop();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user