Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Mar 31, 2020
1 parent fa7e39a commit c812b46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/common/view/DrainFaucetNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class DrainFaucetNode extends FaucetNode {
}, options );

super( faucet.maxFlowRate, faucet.flowRateProperty, faucet.enabledProperty, options );

this.translation = modelViewTransform.modelToViewPosition( faucet.position );
this.setScaleMagnitude( -SCALE, SCALE ); // reflect horizontally
}
Expand Down

0 comments on commit c812b46

Please sign in to comment.