From 15b5e1a13a25afba4094164250278aeac964ad78 Mon Sep 17 00:00:00 2001 From: zepumph Date: Thu, 17 Jan 2019 12:03:50 -0900 Subject: [PATCH] add ComboBox related bad text, https://github.com/phetsims/chipper/issues/728 --- js/intro/view/IntroProjectilePanel.js | 4 ++-- js/lab/view/LabProjectilePanel.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js/intro/view/IntroProjectilePanel.js b/js/intro/view/IntroProjectilePanel.js index c07dd7ec..8d02c94c 100644 --- a/js/intro/view/IntroProjectilePanel.js +++ b/js/intro/view/IntroProjectilePanel.js @@ -41,7 +41,7 @@ define( function( require ) { /** * @param {Array.} objectTypes - types of objects available for the dropdown model * @param {Property.} selectedProjectileObjectTypeProperty - currently selected type of object - * @param {Node} comboBoxListParent - node for containing the combobox + * @param {Node} comboBoxListParent - node for containing the combo box * @param {Property.} projectileMassProperty * @param {Property.} projectileDiameterProperty * @param {Property.} projectileDragCoefficientProperty @@ -79,7 +79,7 @@ define( function( require ) { var buttonXMargin = 10; var comboBoxLineWidth = 1; - // first item contains horizontal strut that sets width of combobox + // first item contains horizontal strut that sets width of combo box var firstItemNodeWidth = comboBoxWidth - itemXMargin - 0.5 * firstItemNode.height - diff --git a/js/lab/view/LabProjectilePanel.js b/js/lab/view/LabProjectilePanel.js index 91d02f1f..add9aaea 100644 --- a/js/lab/view/LabProjectilePanel.js +++ b/js/lab/view/LabProjectilePanel.js @@ -63,7 +63,7 @@ define( function( require ) { var AIR_RESISTANCE_ICON = ProjectileMotionConstants.AIR_RESISTANCE_ICON; /** - * @param {Node} comboBoxListParent - node for containing the combobox + * @param {Node} comboBoxListParent - node for containing the combo box * @param {KeypadLayer} keypadLayer - for entering values * @param {LabModel} model * @param {Object} [options] @@ -109,7 +109,7 @@ define( function( require ) { var buttonXMargin = 10; var comboBoxLineWidth = 1; - // first item contains horizontal strut that sets width of combobox + // first item contains horizontal strut that sets width of combo box var firstItemNodeWidth = comboBoxWidth - itemXMargin - 0.5 * firstItemNode.height - 4 * buttonXMargin - 2 * itemXMargin - 2 * comboBoxLineWidth; firstItemNode.addChild( new HStrut( firstItemNodeWidth ) );