Skip to content

Commit

Permalink
move vertexNode.visibleProperty phetioReadOnly:false from overrides.j…
Browse files Browse the repository at this point in the history
…s to code, #148
  • Loading branch information
pixelzoom committed Mar 5, 2021
1 parent 33868ec commit 32711c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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 @@ -220,9 +220,6 @@ window.phet.preloads.phetio.phetioElementsOverrides =
"graphingQuadratics.standardFormScreen.view.rightPointToolNode.visibleProperty": {
"phetioFeatured": true
},
"graphingQuadratics.standardFormScreen.view.vertexNode.visibleProperty": {
"phetioReadOnly": true
},
"graphingQuadratics.standardFormScreen.view.viewProperties.axisOfSymmetryVisibleProperty": {
"phetioFeatured": true
},
Expand Down
4 changes: 2 additions & 2 deletions js/standardform/view/VertexNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ class VertexNode extends PointNode {
coordinatesDecimals: GQConstants.VERTEX_DECIMALS,

// phet-io
phetioDocumentation: 'displays the vertex of the interactive quadratic'

phetioDocumentation: 'displays the vertex of the interactive quadratic',
visiblePropertyOptions: { phetioReadOnly: true } // because visibility is derived below
}, options );

// position coordinates on the outside of the parabola
Expand Down

0 comments on commit 32711c3

Please sign in to comment.