From 357ad2f7015bea66f1c80a878d7c62f907e5045a Mon Sep 17 00:00:00 2001 From: jbphet <john.blanco@colorado.edu> Date: Mon, 24 May 2021 14:49:34 -0600 Subject: [PATCH] made the max width for the labels of the RGB circles slightly wider, see https://github.com/phetsims/blackbody-spectrum/issues/124 --- js/blackbody-spectrum/view/BGRAndStarDisplay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/blackbody-spectrum/view/BGRAndStarDisplay.js b/js/blackbody-spectrum/view/BGRAndStarDisplay.js index f59fb18..ed5fbca 100644 --- a/js/blackbody-spectrum/view/BGRAndStarDisplay.js +++ b/js/blackbody-spectrum/view/BGRAndStarDisplay.js @@ -53,7 +53,7 @@ class BGRAndStarDisplay extends Node { const circleRed = new Circle( CIRCLE_RADIUS ); const circleLabelOptions = { - font: BlackbodyConstants.LABEL_FONT, fill: CIRCLE_LABEL_COLOR, maxWidth: 20 + font: BlackbodyConstants.LABEL_FONT, fill: CIRCLE_LABEL_COLOR, maxWidth: 36 }; const circleBlueLabel = new Text( bString, circleLabelOptions ); const circleGreenLabel = new Text( gString, circleLabelOptions );