Skip to content

Commit

Permalink
BicyclePumpNode instrumentation, #77
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Apr 30, 2024
1 parent 7c58de7 commit 88d2988
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion js/common/view/GasPropertiesBicyclePumpNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ export default class GasPropertiesBicyclePumpNode extends BicyclePumpNode {
handleTouchAreaXDilation: 35,
handleTouchAreaYDilation: 35,
numberOfParticlesPerPumpAction: 50,
addParticlesOneAtATime: false
addParticlesOneAtATime: false,
phetioVisiblePropertyInstrumented: false // Controlled by bicyclePumpsToggleNode.
}, providedOptions );

super( numberOfParticlesProperty, new Property( numberOfParticlesProperty.range ), options );
Expand Down
3 changes: 1 addition & 2 deletions js/common/view/IdealGasLawScreenView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,7 @@ export default class IdealGasLawScreenView extends BaseScreenView {
const heavyBicyclePumpNode = new GasPropertiesBicyclePumpNode( model.particleSystem.numberOfHeavyParticlesProperty,
combineOptions<GasPropertiesBicyclePumpNodeOptions>( {}, bicyclePumpOptions, {
bodyFill: GasPropertiesColors.heavyParticleColorProperty,
tandem: tandem.createTandem( 'heavyBicyclePumpNode' ),
phetioVisiblePropertyInstrumented: false // Controlled by bicyclePumpsToggleNode.
tandem: tandem.createTandem( 'heavyBicyclePumpNode' )
} ) );

// Bicycle pump for light particles
Expand Down

0 comments on commit 88d2988

Please sign in to comment.