Skip to content

Commit

Permalink
Reset Molecule3DDialog.isPlayingProperty when resetAllButton is press…
Browse files Browse the repository at this point in the history
…ed. #187
  • Loading branch information
Denz1994 committed Jun 5, 2020
1 parent 2d1e6db commit fc551d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/common/view/BAMScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ class BAMScreenView extends ScreenView {
} );
bamModel.reset();
kitPanel.reset();
if ( this.dialog instanceof Molecule3DDialog ) {
this.dialog.isPlayingProperty.reset();
}
this.updateRefillButton();

// If the nextCollectionButton is present on screen hide it.
Expand Down

0 comments on commit fc551d1

Please sign in to comment.