From 817aecb6b65606a104a02d8348b3e6226e2d0d73 Mon Sep 17 00:00:00 2001 From: matthewblackman Date: Fri, 2 Jun 2023 11:06:53 -0400 Subject: [PATCH] Remove unnecessary median highlight link to soccer ball position - see https://github.com/phetsims/center-and-variability/issues/188 --- js/common/view/MedianHighlightLayer.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/js/common/view/MedianHighlightLayer.ts b/js/common/view/MedianHighlightLayer.ts index af7694a4..8d818283 100644 --- a/js/common/view/MedianHighlightLayer.ts +++ b/js/common/view/MedianHighlightLayer.ts @@ -58,10 +58,8 @@ export default class MedianHighlightLayer extends Node { } }; - // TODO: Only listen to the position once the ball lands in the play area, see https://github.com/phetsims/center-and-variability/issues/188 sceneModel.soccerBalls.forEach( soccerBall => { soccerBall.isMedianObjectProperty.link( update ); - soccerBall.positionProperty.link( update ); } ); isPlayAreaMedianVisibleProperty.link( update );