diff --git a/js/common/view/LevelSupportColumnNode.js b/js/common/view/LevelSupportColumnNode.js index b4c5f2fa..45d20924 100644 --- a/js/common/view/LevelSupportColumnNode.js +++ b/js/common/view/LevelSupportColumnNode.js @@ -29,11 +29,7 @@ define( require => { // Create and add the main body of the column. const transformedColumnShape = modelViewTransform.modelToViewShape( levelSupportColumn.shape ); - const mainBodyGradient = new LinearGradient( transformedColumnShape.bounds.minX, 0, transformedColumnShape.bounds.maxX, 0 ). - addColorStop( 0, 'rgb( 150, 150, 150 )' ). - addColorStop( 0.25, 'rgb( 230, 230, 230 )' ). - addColorStop( 0.65, 'rgb( 150, 150, 150 )' ). - addColorStop( 1, 'rgb( 200, 200, 200 )' ); + const mainBodyGradient = new LinearGradient( transformedColumnShape.bounds.minX, 0, transformedColumnShape.bounds.maxX, 0 ).addColorStop( 0, 'rgb( 150, 150, 150 )' ).addColorStop( 0.25, 'rgb( 230, 230, 230 )' ).addColorStop( 0.65, 'rgb( 150, 150, 150 )' ).addColorStop( 1, 'rgb( 200, 200, 200 )' ); const columnNode = new Path( transformedColumnShape, { @@ -46,11 +42,7 @@ define( require => { // Create and add the column support. const supportWidth = transformedColumnShape.bounds.width * 1.3; // Empirically determined. const supportHeight = transformedColumnShape.bounds.height * 0.15; // Empirically determined. - const supportGradient = new LinearGradient( transformedColumnShape.bounds.centerX - supportWidth / 2, 0, transformedColumnShape.bounds.centerX + supportWidth / 2, 0 ). - addColorStop( 0, 'rgb( 150, 150, 150 )' ). - addColorStop( 0.25, 'rgb( 210, 210, 210 )' ). - addColorStop( 0.65, 'rgb( 150, 150, 150 )' ). - addColorStop( 1, 'rgb( 170, 170, 170 )' ); + const supportGradient = new LinearGradient( transformedColumnShape.bounds.centerX - supportWidth / 2, 0, transformedColumnShape.bounds.centerX + supportWidth / 2, 0 ).addColorStop( 0, 'rgb( 150, 150, 150 )' ).addColorStop( 0.25, 'rgb( 210, 210, 210 )' ).addColorStop( 0.65, 'rgb( 150, 150, 150 )' ).addColorStop( 1, 'rgb( 170, 170, 170 )' ); const columnSupportNode = new Rectangle( transformedColumnShape.bounds.centerX - supportWidth / 2, transformedColumnShape.bounds.maxY - supportHeight,