From b2cfefa6385456e8fd142be499ce68e6331b14f4 Mon Sep 17 00:00:00 2001 From: samreid Date: Mon, 29 Jun 2020 14:46:00 -0600 Subject: [PATCH] Move phetioFeatured from overrides to main code, see https://github.com/phetsims/states-of-matter/issues/303 --- js/atomic-interactions/model/DualAtomModel.js | 1 + js/phase-changes/PhaseChangesModel.js | 1 + js/phet-io/states-of-matter-overrides.js | 6 ------ 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/js/atomic-interactions/model/DualAtomModel.js b/js/atomic-interactions/model/DualAtomModel.js index a79a78a2..257d2488 100644 --- a/js/atomic-interactions/model/DualAtomModel.js +++ b/js/atomic-interactions/model/DualAtomModel.js @@ -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' } ); diff --git a/js/phase-changes/PhaseChangesModel.js b/js/phase-changes/PhaseChangesModel.js index c9d63568..6c599abb 100644 --- a/js/phase-changes/PhaseChangesModel.js +++ b/js/phase-changes/PhaseChangesModel.js @@ -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' } ); diff --git a/js/phet-io/states-of-matter-overrides.js b/js/phet-io/states-of-matter-overrides.js index d62e16b1..6813c568 100644 --- a/js/phet-io/states-of-matter-overrides.js +++ b/js/phet-io/states-of-matter-overrides.js @@ -1,9 +1,6 @@ /* eslint-disable */ window.phet.preloads.phetio.phetioElementsOverrides = { - "statesOfMatter.interactionScreen.model.adjustableAtomInteractionStrengthProperty": { - "phetioFeatured": true - }, "statesOfMatter.interactionScreen.model.isPlayingProperty": { "phetioFeatured": true }, @@ -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 },