Skip to content

Commit

Permalink
update voicing responses based on a11yDependencies, #413
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Dec 3, 2021
1 parent 0f749b1 commit 1143b57
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions js/common/view/RatioHandNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,15 @@ class RatioHandNode extends Node {
},
voicingCreateObjectResponse: () => {},
voicingCreateContextResponse: () => {},
voicingHintResponse: ratioAndProportionStrings.a11y.individualHandsVoicingHelpText
voicingHintResponse: ratioAndProportionStrings.a11y.individualHandsVoicingHelpText,
a11yDependencies: []
}, options );
super();

// @ts-ignore
this.initializeVoicing( options );

valueProperty.link( () => {
Property.multilink( [ valueProperty ].concat( options.a11yDependencies ), () => {

// @ts-ignore
this.voicingObjectResponse = options.voicingCreateObjectResponse();
Expand Down

0 comments on commit 1143b57

Please sign in to comment.