From f89a9324ee25ba0ac6b0562bfbdf9b670360096e Mon Sep 17 00:00:00 2001 From: Brandon Li Date: Thu, 21 May 2020 22:26:15 -0600 Subject: [PATCH] temporary fix for CT --- js/common/view/CollisionLabScreenView.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/common/view/CollisionLabScreenView.js b/js/common/view/CollisionLabScreenView.js index c42c0e17..07369d22 100644 --- a/js/common/view/CollisionLabScreenView.js +++ b/js/common/view/CollisionLabScreenView.js @@ -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