Skip to content

Commit

Permalink
add enabledProperty to cannon input listeners, #248
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Jul 26, 2021
1 parent 7deac75 commit 462a4ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/common/view/CannonNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ class CannonNode extends Node {

allowTouchSnag: true,
tandem: tandem.createTandem( 'barrelTopDragListener' ),
phetioEnabledPropertyInstrumented: true,
phetioDocumentation: 'the drag listener for the barrel of the cannon to change the angle'
} ) );

Expand Down Expand Up @@ -517,6 +518,7 @@ class CannonNode extends Node {

allowTouchSnag: true,
tandem: tandem.createTandem( 'heightDragListener' ),
phetioEnabledPropertyInstrumented: true,
phetioDocumentation: 'the listener to change the height of the cannon, used on multiple Nodes'
} );

Expand Down

0 comments on commit 462a4ad

Please sign in to comment.