Skip to content

Commit

Permalink
Access property on separate line, see phetsims/tasks#1106
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Aug 27, 2022
1 parent 9aa8cde commit 6a8cd5f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/common/view/BothHandsPDOMNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,8 @@ class BothHandsPDOMNode extends Node {
// emit this utterance immediately, so that it comes before the object response above.
this.bothHandsInteractionListener.jumpToZeroWhileLockedEmitter.addListener( () => {

this.alertDescriptionUtterance( ratioAndProportionStrings.a11y.bothHands.cannotJumpToZeroWhenLockedProperty.value );
const cannotJumpToZeroWhenLockedProperty = ratioAndProportionStrings.a11y.bothHands.cannotJumpToZeroWhenLockedProperty;
this.alertDescriptionUtterance( cannotJumpToZeroWhenLockedProperty.value );
this.contextResponseUtterance.alert = this.descriptionBothHandsDescriber.getBothHandsObjectResponse();

this.alertDescriptionUtterance( this.contextResponseUtterance );
Expand Down

0 comments on commit 6a8cd5f

Please sign in to comment.