Skip to content

Commit

Permalink
made the max width for the labels of the RGB circles slightly wider, …
Browse files Browse the repository at this point in the history
…see #124
  • Loading branch information
jbphet committed May 24, 2021
1 parent b7690a6 commit 357ad2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/blackbody-spectrum/view/BGRAndStarDisplay.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 357ad2f

Please sign in to comment.