Skip to content

Commit

Permalink
Add madRectangle color to CAVColors.ts, see: #194
Browse files Browse the repository at this point in the history
  • Loading branch information
marlitas committed May 12, 2023
1 parent 7ab2d68 commit 2c084a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions js/common/CAVColors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ const CAVColors = {
quartileColorProperty: new ProfileColorProperty( centerAndVariability, 'quartileColor', { default: '#99ffff' } ),
arrowStrokeProperty: new ProfileColorProperty( centerAndVariability, 'arrowStroke', { default: 'black' } ),
boxWhiskerStrokeColorProperty: new ProfileColorProperty( centerAndVariability, 'boxWhiskerStrokeColor', { default: 'black' } ),
madRectangleColorProperty: new ProfileColorProperty( centerAndVariability, 'madRectangleColorProeprty', { default: '#e0c0f5' } ),

grayDataPointFill: new ProfileColorProperty( centerAndVariability, 'grayDataPointFill', { default: '#8f8f8f' } ),

Expand Down
2 changes: 1 addition & 1 deletion js/variability/view/MADNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default class MADNode extends CAVPlotNode {
this.addChild( needAtLeastOneKickText );

const madRectangle = new Rectangle( 0, 50, 100, 72, {
fill: '#e0c0f5',
fill: CAVColors.madRectangleColorProperty,
stroke: 'lightGray'
} );

Expand Down

0 comments on commit 2c084a4

Please sign in to comment.