Skip to content

Commit

Permalink
SelfVoicingWrapperNode -> VoicingWrapperNode, see phetsims/tasks#1083
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Mar 24, 2021
1 parent ef2d8f6 commit a7dc89a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions js/view/DistanceArrowNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import inverseSquareLawCommonStrings from '../../../inverse-square-law-common/js
import ISLCQueryParameters from '../../../inverse-square-law-common/js/ISLCQueryParameters.js';
import StringUtils from '../../../phetcommon/js/util/StringUtils.js';
import levelSpeakerModel from '../../../scenery-phet/js/accessibility/speaker/levelSpeakerModel.js';
import SelfVoicingWrapperNode from '../../../scenery-phet/js/accessibility/speaker/SelfVoicingWrapperNode.js';
import VoicingWrapperNode from '../../../scenery-phet/js/accessibility/speaker/VoicingWrapperNode.js';
import ArrowNode from '../../../scenery-phet/js/ArrowNode.js';
import PhetFont from '../../../scenery-phet/js/PhetFont.js';
import Node from '../../../scenery/js/nodes/Node.js';
Expand Down Expand Up @@ -81,7 +81,7 @@ class DistanceArrowNode extends Node {
phet.joist.sim.voicingUtteranceQueue.addToBack( response );
};

this.selfVoicingWrapper = new SelfVoicingWrapperNode( this, {
this.selfVoicingWrapper = new VoicingWrapperNode( this, {
focusable: false,
listenerOptions: {
onPress: arrowHitListener,
Expand Down
4 changes: 2 additions & 2 deletions js/view/GFLBMassControl.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import merge from '../../../phet-core/js/merge.js';
import StringUtils from '../../../phetcommon/js/util/StringUtils.js';
import levelSpeakerModel from '../../../scenery-phet/js/accessibility/speaker/levelSpeakerModel.js';
import VoicingInputListener from '../../../scenery-phet/js/accessibility/speaker/VoicingInputListener.js';
import SelfVoicingWrapperNode from '../../../scenery-phet/js/accessibility/speaker/SelfVoicingWrapperNode.js';
import VoicingWrapperNode from '../../../scenery-phet/js/accessibility/speaker/VoicingWrapperNode.js';
import NumberPicker from '../../../scenery-phet/js/NumberPicker.js';
import PhetFont from '../../../scenery-phet/js/PhetFont.js';
import sceneryPhetStrings from '../../../scenery-phet/js/sceneryPhetStrings.js';
Expand Down Expand Up @@ -149,7 +149,7 @@ class GFLBMassControl extends Panel {
const panelHitShape = Shape.bounds( panelVBox.bounds ).shapeDifference( Shape.bounds( panelVBox.globalToParentBounds( numberPicker.globalBounds ).dilated( 15 ) ) );
const panelHitPath = new Path( panelHitShape );

const panelWrapper = new SelfVoicingWrapperNode( panelHitPath, {
const panelWrapper = new VoicingWrapperNode( panelHitPath, {
customNode: panelHitPath,
focusable: false,
listenerOptions: {
Expand Down

0 comments on commit a7dc89a

Please sign in to comment.