Skip to content

Commit

Permalink
small voicingManager instrumentation tweaks, phetsims/joist#744
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Nov 8, 2022
1 parent 87cccf9 commit 388e195
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions js/SpeechSynthesisAnnouncer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,7 @@ class SpeechSynthesisAnnouncer extends Announcer {
phetioState: false
} );
this.voiceVolumeProperty = new NumberProperty( 1.0, {
range: new Range( 0, 1 ),
tandem: options.tandem.createTandem( 'voiceVolumeProperty' ),
phetioState: false
range: new Range( 0, 1 )
} );

// Indicates whether speech using SpeechSynthesis has been requested at least once.
Expand All @@ -271,7 +269,7 @@ class SpeechSynthesisAnnouncer extends Announcer {
// initial value for the enabledProperty, false because speech should not happen until requested by user
enabled: false,

tandem: options.tandem.createTandem( 'enabledProperty' ),
tandem: options.tandem,
enabledPropertyOptions: {
phetioState: false,
phetioFeatured: false
Expand Down

0 comments on commit 388e195

Please sign in to comment.