Skip to content

Commit

Permalink
Bug Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joykirat18 committed Jan 29, 2021
1 parent 79e1c87 commit be5a5d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/widgets/modewidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ class ModeWidget {
this.widgetWindow.getWidgetBody().append(this.modeTableDiv);

this.widgetWindow.onclose = () => {
this._playing = false;
logo.hideMsgs();
this.widgetWindow.destroy();
};
Expand All @@ -75,7 +76,6 @@ class ModeWidget {
_("Play")
);
this._playButton.onclick = () => {
this._playing = false;
logo.resetSynth(0);
if (this._playingStatus()) {
this._playing = false;
Expand Down

0 comments on commit be5a5d5

Please sign in to comment.