From 4826c52d2d7e2001fd79238e27534afd9f8c88d5 Mon Sep 17 00:00:00 2001 From: denz1994 Date: Sun, 6 May 2018 19:01:34 -0400 Subject: [PATCH] Fixed bug with alignment of questionText when choosing bodies. #258 --- js/common/view/GravityAndDampingControlNode.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/common/view/GravityAndDampingControlNode.js b/js/common/view/GravityAndDampingControlNode.js index e8541a1e..2fb7aec9 100644 --- a/js/common/view/GravityAndDampingControlNode.js +++ b/js/common/view/GravityAndDampingControlNode.js @@ -244,10 +244,8 @@ define( function( require ) { // Alignment of Node contents gravitySlider.left = this.left; - questionTextNode.centerX = this.centerX - 10; + questionTextNode.centerX = gravitySlider.centerX+5; gravityComboBox.centerX = this.centerX; - questionTextNode.centerX = gravityComboBox.centerX-10; - dampingHSliderTitle.left = this.left; dampingHSlider.centerX = this.centerX; }