Skip to content

Commit

Permalink
Revert "Move phetioFeatured from overrides to main code, see #303"
Browse files Browse the repository at this point in the history
This reverts commit 8abbc1f.
  • Loading branch information
samreid committed Jul 3, 2020
1 parent 1991770 commit 242890a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
1 change: 0 additions & 1 deletion js/common/model/MultipleParticleModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,6 @@ class MultipleParticleModel extends PhetioObject {
units: 'K',
phetioType: DerivedPropertyIO( NullableIO( NumberIO ) ),
tandem: tandem.createTandem( 'temperatureInKelvinProperty' ),
phetioFeatured: true,
phetReadOnly: true
}
);
Expand Down
3 changes: 1 addition & 2 deletions js/common/view/CompositeThermometerNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@ class CompositeThermometerNode extends Node {

// Create a link to temperatureInKelvinProperty so it's easier to find in phet-io Studio.
this.addLinkedElement( multipleParticleModel.temperatureInKelvinProperty, {
tandem: options.tandem.createTandem( 'temperatureInKelvinProperty' ),
phetioFeatured: true
tandem: options.tandem.createTandem( 'temperatureInKelvinProperty' )
} );
}

Expand Down
6 changes: 6 additions & 0 deletions js/phet-io/states-of-matter-overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ window.phet.preloads.phetio.phetioElementsOverrides =
"statesOfMatter.phaseChangesScreen.model.targetNumberOfMoleculesProperty": {
"phetioFeatured": true
},
"statesOfMatter.phaseChangesScreen.model.temperatureInKelvinProperty": {
"phetioFeatured": true
},
"statesOfMatter.phaseChangesScreen.view.heaterCoolerNode.visibleProperty": {
"phetioFeatured": true
},
Expand Down Expand Up @@ -190,6 +193,9 @@ window.phet.preloads.phetio.phetioElementsOverrides =
"statesOfMatter.statesScreen.model.targetNumberOfMoleculesProperty": {
"phetioFeatured": true
},
"statesOfMatter.statesScreen.model.temperatureInKelvinProperty": {
"phetioFeatured": true
},
"statesOfMatter.statesScreen.view.heaterCoolerNode.visibleProperty": {
"phetioFeatured": true
},
Expand Down

0 comments on commit 242890a

Please sign in to comment.