From be5a5d5c9193226457f007bea24ea5421c8319b5 Mon Sep 17 00:00:00 2001 From: joykirat18 Date: Fri, 29 Jan 2021 21:43:45 +0530 Subject: [PATCH] Bug Fix --- js/widgets/modewidget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/widgets/modewidget.js b/js/widgets/modewidget.js index e470ec2a92..7f75072e53 100644 --- a/js/widgets/modewidget.js +++ b/js/widgets/modewidget.js @@ -65,6 +65,7 @@ class ModeWidget { this.widgetWindow.getWidgetBody().append(this.modeTableDiv); this.widgetWindow.onclose = () => { + this._playing = false; logo.hideMsgs(); this.widgetWindow.destroy(); }; @@ -75,7 +76,6 @@ class ModeWidget { _("Play") ); this._playButton.onclick = () => { - this._playing = false; logo.resetSynth(0); if (this._playingStatus()) { this._playing = false;