From 69e14275e99f16264e256cafcc29cff2ee4995a3 Mon Sep 17 00:00:00 2001 From: zepumph Date: Tue, 12 Nov 2019 10:03:08 -0900 Subject: [PATCH] alert movedUtterance, not grabbedUtterance, https://github.com/phetsims/gravity-force-lab/issues/138 --- js/view/ISLCRulerNode.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/view/ISLCRulerNode.js b/js/view/ISLCRulerNode.js index ded5a91..ad53545 100644 --- a/js/view/ISLCRulerNode.js +++ b/js/view/ISLCRulerNode.js @@ -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 ); } } }, { @@ -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 ); } } } ] );