diff --git a/js/common/model/GravityAndOrbitsClock.ts b/js/common/model/GravityAndOrbitsClock.ts index c9e7baba..4f508617 100644 --- a/js/common/model/GravityAndOrbitsClock.ts +++ b/js/common/model/GravityAndOrbitsClock.ts @@ -52,7 +52,7 @@ class GravityAndOrbitsClock { this.isRunningProperty = new BooleanProperty( false, { tandem: tandem.createTandem( 'isRunningProperty' ), - phetioDocumentation: `This value is true when '${sceneTandem.phetioID}' is the selected scene and the play/pause button is in play mode. (It remains true even if the user switches screens. Use in combination with '${phet.joist.sim.screenProperty.tandem.phetioID}'.)`, + phetioDocumentation: `This value is true when '${sceneTandem.phetioID}' is the selected scene and the play/pause button is in play mode. (It remains true even if the user switches screens. Use in combination with '${phet.joist.sim.selectedScreenProperty.tandem.phetioID}'.)`, phetioReadOnly: true } ); this.timeProperty = new NumberProperty( 0, { diff --git a/js/common/model/GravityAndOrbitsModel.ts b/js/common/model/GravityAndOrbitsModel.ts index db79744e..5c4ac7e3 100644 --- a/js/common/model/GravityAndOrbitsModel.ts +++ b/js/common/model/GravityAndOrbitsModel.ts @@ -61,10 +61,10 @@ class GravityAndOrbitsModel { this.showMassProperty = new BooleanProperty( false, { tandem: showMassCheckbox ? tandem.createTandem( 'showMassProperty' ) : Tandem.OPTIONAL } ); this.showMeasuringTapeProperty = new BooleanProperty( false, { tandem: showMeasuringTape ? tandem.createTandem( 'showMeasuringTapeProperty' ) : Tandem.OPTIONAL } ); - assert && assert( phet.joist.sim.screenProperty, 'sim should exist by now' ); + assert && assert( phet.joist.sim.selectedScreenProperty, 'sim should exist by now' ); this.isPlayingProperty = new BooleanProperty( false, { tandem: tandem.createTandem( 'isPlayingProperty' ), - phetioDocumentation: `This value is true if the play/pause button on this screen is in play mode. (It remains true even if the user switches screens. Use in combination with '${phet.joist.sim.screenProperty.tandem.phetioID}'.)` + phetioDocumentation: `This value is true if the play/pause button on this screen is in play mode. (It remains true even if the user switches screens. Use in combination with '${phet.joist.sim.selectedScreenProperty.tandem.phetioID}'.)` } ); this.timeSpeedProperty = new EnumerationProperty( TimeSpeed.NORMAL, {