Skip to content

Commit

Permalink
make histogram numbers phet-io read-only, see #63
Browse files Browse the repository at this point in the history
  • Loading branch information
jbphet committed Jan 14, 2025
1 parent 38def99 commit e4ceb45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/coins/view/CoinMeasurementHistogram.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,11 @@ export default class CoinMeasurementHistogram extends QuantumMeasurementHistogra

// Create the number Properties for the left and right histogram bars.
const leftNumberProperty = new NumberProperty( 0, {
phetioReadOnly: true,
tandem: providedOptions.tandem.createTandem( 'leftNumberProperty' )
} );
const rightNumberProperty = new NumberProperty( 0, {
phetioReadOnly: true,
tandem: providedOptions.tandem.createTandem( 'rightNumberProperty' )
} );

Expand Down

0 comments on commit e4ceb45

Please sign in to comment.