Skip to content

Commit

Permalink
use interactiveHighlight: 'invisible' to hide just the interactiveHig…
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Mar 14, 2022
1 parent 1f88fb0 commit 117a924
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/common/view/BothHandsPDOMNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import CueArrowsState from './CueArrowsState.js';
import RatioDescriber from './describers/RatioDescriber.js';
import TickMarkView from './TickMarkView.js';
import EnumerationProperty from '../../../../axon/js/EnumerationProperty.js';
import { Shape } from '../../../../kite/js/imports.js';

// constants
const OBJECT_RESPONSE_DELAY = 500;
Expand Down Expand Up @@ -93,7 +92,7 @@ class BothHandsPDOMNode extends Node {
voicingNameResponse: ratioAndProportionStrings.a11y.bothHands.bothHands,
voicingObjectResponse: () => this.bothHandsDescriber.getBothHandsObjectResponse(),
voicingContextResponse: () => this.bothHandsDescriber.getBothHandsContextResponse(),
interactiveHighlight: new Shape(), // TODO: this is just a workaround, see https://github.com/phetsims/scenery/issues/1372
interactiveHighlight: 'invisible',
ariaLabel: ratioAndProportionStrings.a11y.bothHands.bothHands
}
}, providedOptions );
Expand Down

0 comments on commit 117a924

Please sign in to comment.