From cd73c23507746b5c45fd24a2072c087f5fe3ef87 Mon Sep 17 00:00:00 2001 From: samreid Date: Mon, 29 Jun 2020 14:59:09 -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 | 3 ++- js/common/model/MultipleParticleModel.js | 3 ++- js/phet-io/states-of-matter-overrides.js | 3 --- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/js/atomic-interactions/model/DualAtomModel.js b/js/atomic-interactions/model/DualAtomModel.js index 257d2488..e26e57ec 100644 --- a/js/atomic-interactions/model/DualAtomModel.js +++ b/js/atomic-interactions/model/DualAtomModel.js @@ -73,7 +73,8 @@ class DualAtomModel { // @public (read-write) - paused or playing this.isPlayingProperty = new BooleanProperty( true, { - tandem: tandem.createTandem( 'isPlayingProperty' ) + tandem: tandem.createTandem( 'isPlayingProperty' ), + phetioFeatured: true } ); // @public (read-write) - speed at which the model is running diff --git a/js/common/model/MultipleParticleModel.js b/js/common/model/MultipleParticleModel.js index e893d67d..70b828b6 100644 --- a/js/common/model/MultipleParticleModel.js +++ b/js/common/model/MultipleParticleModel.js @@ -179,7 +179,8 @@ class MultipleParticleModel extends PhetioObject { // @public (read-write) this.isPlayingProperty = new BooleanProperty( true, { - tandem: tandem.createTandem( 'isPlayingProperty' ) + tandem: tandem.createTandem( 'isPlayingProperty' ), + phetioFeatured: true } ); // @public (read-write) diff --git a/js/phet-io/states-of-matter-overrides.js b/js/phet-io/states-of-matter-overrides.js index 6813c568..001d1cba 100644 --- a/js/phet-io/states-of-matter-overrides.js +++ b/js/phet-io/states-of-matter-overrides.js @@ -79,9 +79,6 @@ window.phet.preloads.phetio.phetioElementsOverrides = "statesOfMatter.phaseChangesScreen.model.isExplodedProperty": { "phetioFeatured": true }, - "statesOfMatter.phaseChangesScreen.model.isPlayingProperty": { - "phetioFeatured": true - }, "statesOfMatter.phaseChangesScreen.model.phaseDiagramExpandedProperty": { "phetioFeatured": true },