Skip to content

Commit

Permalink
Move phetioFeatured from overrides to main code, see #303
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Jun 29, 2020
1 parent e0ef66b commit b2cfefa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions js/atomic-interactions/model/DualAtomModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ class DualAtomModel {
this.adjustableAtomInteractionStrengthProperty = new NumberProperty( 100, {
tandem: tandem.createTandem( 'adjustableAtomInteractionStrengthProperty' ),
phetioReadOnly: true,
phetioFeatured: true,
phetioDocumentation: 'intermolecular potential for the "Adjustable Attraction" atoms - this is a parameter in the Lennard-Jones potential equation'
} );

Expand Down
1 change: 1 addition & 0 deletions js/phase-changes/PhaseChangesModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ class PhaseChangesModel extends MultipleParticleModel {
// @public (read-write) - interaction strength of the adjustable attraction atoms
this.adjustableAtomInteractionStrengthProperty = new NumberProperty( MAX_ADJUSTABLE_EPSILON, {
tandem: tandem.createTandem( 'adjustableAtomInteractionStrengthProperty' ),
phetioFeatured: true,
range: new Range( MIN_ADJUSTABLE_EPSILON, MAX_ADJUSTABLE_EPSILON ),
phetioDocumentation: 'intermolecular potential for the "Adjustable Attraction" atoms - this is a parameter in the Lennard-Jones potential equation'
} );
Expand Down
6 changes: 0 additions & 6 deletions js/phet-io/states-of-matter-overrides.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/* eslint-disable */
window.phet.preloads.phetio.phetioElementsOverrides =
{
"statesOfMatter.interactionScreen.model.adjustableAtomInteractionStrengthProperty": {
"phetioFeatured": true
},
"statesOfMatter.interactionScreen.model.isPlayingProperty": {
"phetioFeatured": true
},
Expand Down Expand Up @@ -70,9 +67,6 @@ window.phet.preloads.phetio.phetioElementsOverrides =
"statesOfMatter.interactionScreen.view.returnAtomButton.visibleProperty": {
"phetioFeatured": false
},
"statesOfMatter.phaseChangesScreen.model.adjustableAtomInteractionStrengthProperty": {
"phetioFeatured": true
},
"statesOfMatter.phaseChangesScreen.model.containerHeightProperty": {
"phetioFeatured": true
},
Expand Down

0 comments on commit b2cfefa

Please sign in to comment.