Skip to content

Commit

Permalink
SelfVoicingFocusHighlight -> VoicingHighlight, 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 d7e8986 commit 76f2138
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions js/accessibility/speaker/SelfVoicingWrapperNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import merge from '../../../../phet-core/js/merge.js';
import sceneryPhet from '../../sceneryPhet.js';
import Rectangle from '../../../../scenery/js/nodes/Rectangle.js';
import SelfVoicingFocusHighlight from './SelfVoicingFocusHighlight.js';
import VoicingHighlight from './VoicingHighlight.js';
import SelfVoicingInputListener from './SelfVoicingInputListener.js';
import Node from '../../../../scenery/js/nodes/Node.js';

Expand All @@ -35,7 +35,7 @@ class SelfVoicingWrapperNode extends Node {
// (of ParallelDOM) to remove this node from the focus order
tagName: 'button',

focusHighlight: new SelfVoicingFocusHighlight( node )
focusHighlight: new VoicingHighlight( node )
}, options );

super( options );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import FontAwesomeNode from '../../../../sun/js/FontAwesomeNode.js';
import sceneryPhet from '../../sceneryPhet.js';
import FocusHighlightFromNode from '../../../../scenery/js/accessibility/FocusHighlightFromNode.js';

class SelfVoicingFocusHighlight extends FocusHighlightFromNode {
class VoicingHighlight extends FocusHighlightFromNode {
constructor( node, options ) {

options = merge( {
Expand Down Expand Up @@ -56,5 +56,5 @@ class SelfVoicingFocusHighlight extends FocusHighlightFromNode {
}
}

sceneryPhet.register( 'SelfVoicingFocusHighlight', SelfVoicingFocusHighlight );
export default SelfVoicingFocusHighlight;
sceneryPhet.register( 'VoicingHighlight', VoicingHighlight );
export default VoicingHighlight;

0 comments on commit 76f2138

Please sign in to comment.