diff --git a/js/widgets/phrasemaker.js b/js/widgets/phrasemaker.js
index 5d9f555585..85f217bf51 100644
--- a/js/widgets/phrasemaker.js
+++ b/js/widgets/phrasemaker.js
@@ -267,10 +267,35 @@ class PhraseMaker {
widgetWindow.destroy();
};
- widgetWindow.addButton("play-button.svg", PhraseMaker.ICONSIZE, _("Play")).onclick = () => {
+ this._playButton = widgetWindow.addButton("play-button.svg", PhraseMaker.ICONSIZE, _("Play"));
+
+ this._playButton.onclick = () => {
logo.turtleDelay = 0;
logo.resetSynth(0);
+ if(this.playingNow) {
+ this._playButton.innerHTML =
+ ' ';
+ } else {
+ this._playButton.innerHTML =
+ ' ';
+ }
this.playAll();
};
@@ -3887,6 +3912,16 @@ class PhraseMaker {
_("Play")
);
this.playingNow = false;
+ this._playButton.innerHTML =
+ ' ';
} else {
row = this._noteValueRow;
cell = row.cells[this._colIndex];