From 964039ad8bc689c962e6cb60e2568e3808213367 Mon Sep 17 00:00:00 2001 From: zepumph Date: Mon, 15 Jul 2019 11:52:53 -0800 Subject: [PATCH] fix nested options bug by renaming title options, https://github.com/phetsims/gravity-force-lab/issues/165 --- js/view/ISLCObjectControlPanel.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/view/ISLCObjectControlPanel.js b/js/view/ISLCObjectControlPanel.js index a0a3636..994fe7f 100644 --- a/js/view/ISLCObjectControlPanel.js +++ b/js/view/ISLCObjectControlPanel.js @@ -110,8 +110,8 @@ define( function( require ) { // title and value text options titleNodeOptions: { - titleFont: new PhetFont( 12 ), - titleMaxWidth: TITLE_MAX_WIDTH + font: new PhetFont( 12 ), + maxWidth: TITLE_MAX_WIDTH }, // phet-io