Skip to content

Commit

Permalink
alert movedUtterance, not grabbedUtterance, phetsims/gravity-force-la…
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Nov 12, 2019
1 parent ae59bfd commit 69e1427
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/view/ISLCRulerNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ define( require => {
// TODO: remove this conditional once CL ruler describer is supported
if ( rulerDescriber.getJumpCenterMassAlert ) {
movedUtterance.alert = rulerDescriber.getJumpCenterMassAlert();
phet.joist.sim.display.utteranceQueue.addToBack( grabbedUtterance );
phet.joist.sim.display.utteranceQueue.addToBack( movedUtterance );
}
}
}, {
Expand All @@ -227,7 +227,7 @@ define( require => {
// TODO: remove this conditional once CL ruler describer is supported
if ( rulerDescriber.getHomePositionString ) {
movedUtterance.alert = rulerDescriber.getHomePositionString();
phet.joist.sim.display.utteranceQueue.addToBack( grabbedUtterance );
phet.joist.sim.display.utteranceQueue.addToBack( movedUtterance );
}
}
} ] );
Expand Down

0 comments on commit 69e1427

Please sign in to comment.