From c11b1e1c888ce40481310d748ab790d2857ac9ec Mon Sep 17 00:00:00 2001 From: zepumph Date: Tue, 12 Feb 2019 13:49:21 -0900 Subject: [PATCH] =?UTF-8?q?fixed=20REGULAR=20table=20row:=20Focus=20exampl?= =?UTF-8?q?es=20when=20focused=20sphere=20is=20at=20an=20edge=20and=20sphe?= =?UTF-8?q?res=20are=20=E2=80=9Ctouching=E2=80=9D,=20https://github.com/ph?= =?UTF-8?q?etsims/gravity-force-lab/issues/124?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../view/GravityForceLabBasicsMassNode.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/js/gravity-force-lab-basics/view/GravityForceLabBasicsMassNode.js b/js/gravity-force-lab-basics/view/GravityForceLabBasicsMassNode.js index 18c2caf..a946a41 100644 --- a/js/gravity-force-lab-basics/view/GravityForceLabBasicsMassNode.js +++ b/js/gravity-force-lab-basics/view/GravityForceLabBasicsMassNode.js @@ -95,10 +95,7 @@ define( function( require ) { resetAriaValueText: function() { const positionDescriber = GFLBPositionDescriber.getDescriber(); if ( positionDescriber.objectAtEdge( this.enum ) ) { - this.ariaValueText = positionDescriber.getPositionAtEdgeAndDistanceFromOtherObjectText( this.enum ); - } - else if ( positionDescriber.objectsClosest ) { - this.ariaValueText = positionDescriber.getClosestToOtherObjectText( this.enum ); + this.ariaValueText = positionDescriber.getEdgeValueText( this.enum ); } else { this.ariaValueText = positionDescriber.getPositionAndDistanceFromOtherObjectText( this.enum );