Skip to content

Commit

Permalink
bugFix: audio still playing even after widget is closed
Browse files Browse the repository at this point in the history
  • Loading branch information
joykirat18 committed Jan 26, 2021
1 parent ab9e2f7 commit 94c684c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/widgets/modewidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ class ModeWidget {
_("Play")
);
this._playButton.onclick = () => {
this._playing = false;
logo.resetSynth(0);
if (this._playingStatus()) {
this._playing = false;
Expand Down

0 comments on commit 94c684c

Please sign in to comment.