Skip to content

Commit

Permalink
eliminate dependency on NumberSuiteCommonSpeechSynthesisAnnouncer in …
Browse files Browse the repository at this point in the history
…AutoHearControl, phetsims/number-pairs#22
  • Loading branch information
pixelzoom committed Dec 9, 2024
1 parent 22d915d commit cdd36e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/number-play-main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const simOptions: SimOptions = {
customPreferences: [ {
createContent: () => new AutoHearControl(
numberPlayPreferences.autoHearEnabledProperty,
numberPlaySpeechSynthesisAnnouncer,
numberPlaySpeechSynthesisAnnouncer.hasVoiceProperty,
NumberPlayStrings.automaticallyHearTotalStringProperty,
NumberPlayStrings.automaticallyHearTotalDescriptionStringProperty,
NumberSuiteCommonPreferencesNode.hasScreenType( TenScreen ) || NumberSuiteCommonPreferencesNode.hasScreenType( TwentyScreen ) )
Expand Down

0 comments on commit cdd36e9

Please sign in to comment.