Skip to content

Commit

Permalink
Remove unnecessary median highlight link to soccer ball position - see
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-blackman committed Jun 2, 2023
1 parent 520ec23 commit 817aecb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions js/common/view/MedianHighlightLayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 817aecb

Please sign in to comment.