Skip to content

Commit

Permalink
temporary fix for CT
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonLi8 committed May 22, 2020
1 parent 6611ae7 commit f89a932
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions js/common/view/CollisionLabScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,9 @@ class CollisionLabScreenView extends ScreenView {
// create and add restart button
const restartButton = new RestartButton( {
listener: () => {
model.playArea.balls.forEach( ball => ball.reset() );
model.clock.reset();
// TODO: move this to a model method.
// model.playArea.balls.forEach( ball => ball.reset() );
// model.clock.reset();
},
right: playAreaNode.right,
top: playAreaNode.bottom + 5
Expand Down

0 comments on commit f89a932

Please sign in to comment.