Skip to content

Commit

Permalink
move rootsNode.visibleProperty from overrides.js to code, #148
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Mar 5, 2021
1 parent 14389d5 commit 063b3ce
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions js/graphing-quadratics-phet-io-overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,6 @@ window.phet.preloads.phetio.phetioElementsOverrides =
"graphingQuadratics.standardFormScreen.view.rightPointToolNode.visibleProperty": {
"phetioFeatured": true
},
"graphingQuadratics.standardFormScreen.view.rootsNode.visibleProperty": {
"phetioReadOnly": true
},
"graphingQuadratics.standardFormScreen.view.vertexNode.visibleProperty": {
"phetioReadOnly": true
},
Expand Down
2 changes: 1 addition & 1 deletion js/standardform/view/RootsNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ class RootsNode extends Node {
rootsVisibleProperty, coordinatesVisibleProperty, options ) {

options = merge( {
visiblePropertyOptions: { phetioReadOnly: true }, // because visibility is derived, see below

// phet-io
tandem: Tandem.REQUIRED,
phetioDocumentation: 'displays the roots of the interactive quadratic'

}, options );

// options common to both Property instances
Expand Down

0 comments on commit 063b3ce

Please sign in to comment.