Skip to content

Commit

Permalink
SelfVoicingInputListener -> VoicingInputListener, see phetsims/tasks#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Mar 24, 2021
1 parent 3f150e1 commit fe75ea7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions js/john-travoltage/view/AppendageNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import Vector2 from '../../../../dot/js/Vector2.js';
import Shape from '../../../../kite/js/Shape.js';
import merge from '../../../../phet-core/js/merge.js';
import StringUtils from '../../../../phetcommon/js/util/StringUtils.js';
import SelfVoicingInputListener from '../../../../scenery-phet/js/accessibility/speaker/SelfVoicingInputListener.js';
import VoicingInputListener from '../../../../scenery-phet/js/accessibility/speaker/VoicingInputListener.js';
import levelSpeakerModel from '../../../../scenery-phet/js/accessibility/speaker/levelSpeakerModel.js';
import sceneryPhetStrings from '../../../../scenery-phet/js/sceneryPhetStrings.js';
import FocusHighlightPath from '../../../../scenery/js/accessibility/FocusHighlightPath.js';
Expand Down Expand Up @@ -308,7 +308,7 @@ class AppendageNode extends Node {
}
} );

this.addInputListener( new SelfVoicingInputListener( {
this.addInputListener( new VoicingInputListener( {
onFocusIn: () => {
const response = this.getSelfVoicingObjectResponse( true );
phet.joist.sim.voicingUtteranceQueue.addToBack( response );
Expand Down
4 changes: 2 additions & 2 deletions js/john-travoltage/view/JohnTravoltageView.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import ScreenView from '../../../../joist/js/ScreenView.js';
import Shape from '../../../../kite/js/Shape.js';
import platform from '../../../../phet-core/js/platform.js';
import StringUtils from '../../../../phetcommon/js/util/StringUtils.js';
import SelfVoicingInputListener from '../../../../scenery-phet/js/accessibility/speaker/SelfVoicingInputListener.js';
import VoicingInputListener from '../../../../scenery-phet/js/accessibility/speaker/VoicingInputListener.js';
import SelfVoicingQuickControl from '../../../../scenery-phet/js/accessibility/speaker/SelfVoicingQuickControl.js';
import levelSpeakerModel from '../../../../scenery-phet/js/accessibility/speaker/levelSpeakerModel.js';
import ResetAllButton from '../../../../scenery-phet/js/buttons/ResetAllButton.js';
Expand Down Expand Up @@ -398,7 +398,7 @@ class JohnTravoltageView extends ScreenView {
swipeListener.enabled = gestureControl;
} );

resetAllButton.addInputListener( new SelfVoicingInputListener( {
resetAllButton.addInputListener( new VoicingInputListener( {
onFocusIn: () => {

// on focus, speak the name of the reset all button
Expand Down

0 comments on commit fe75ea7

Please sign in to comment.