Skip to content

Commit

Permalink
remove pickable:false for bodyNode, #614
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Jul 23, 2020
1 parent d5bed8c commit 839830a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions js/FaucetNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,7 @@ function FaucetNode( maxFlowRate, flowRateProperty, enabledProperty, options ) {

// other nodes
const spoutNode = new Image( spoutImage );
const bodyNode = new Image( bodyImage, {
pickable: false
} );
const bodyNode = new Image( bodyImage );

const shooterWindowNode = new Rectangle( SHOOTER_WINDOW_BOUNDS.minX, SHOOTER_WINDOW_BOUNDS.minY,
SHOOTER_WINDOW_BOUNDS.maxX - SHOOTER_WINDOW_BOUNDS.minX, SHOOTER_WINDOW_BOUNDS.maxY - SHOOTER_WINDOW_BOUNDS.minY,
Expand Down

0 comments on commit 839830a

Please sign in to comment.