Skip to content

Commit

Permalink
Set soccer ball pickable to false on creation to prevent input captur…
Browse files Browse the repository at this point in the history
…e on landing - see #188
  • Loading branch information
matthew-blackman committed May 24, 2023
1 parent bc4c87d commit 06f85bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/common/view/SceneView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ export default class SceneView {
sceneModel.isVisibleProperty,
modelViewTransform,
model.objectNodesInputEnabledProperty, {
tandem: options.tandem.createTandem( 'soccerBallNodes' ).createTandem( `soccerBallNode${index + 1}` )
tandem: options.tandem.createTandem( 'soccerBallNodes' ).createTandem( `soccerBallNode${index + 1}` ),
pickable: false
} );

backLayer.addChild( soccerBallNode );
Expand Down

0 comments on commit 06f85bc

Please sign in to comment.