Skip to content

Commit

Permalink
Bug Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joykirat18 authored and meganindya committed Jan 29, 2021
1 parent 34ca2ba commit 9ace22d
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 9ace22d

Please sign in to comment.