diff --git a/js/common/view/AlphaParticlePropertiesPanel.js b/js/common/view/AlphaParticlePropertiesPanel.js index 3907315..49ea0de 100644 --- a/js/common/view/AlphaParticlePropertiesPanel.js +++ b/js/common/view/AlphaParticlePropertiesPanel.js @@ -11,7 +11,7 @@ define( function( require ) { 'use strict'; // modules - var CheckBox = require( 'SUN/CheckBox' ); + var Checkbox = require( 'SUN/Checkbox' ); var Dimension2 = require( 'DOT/Dimension2' ); var HBox = require( 'SCENERY/nodes/HBox' ); var HSlider = require( 'SUN/HSlider' ); @@ -220,11 +220,11 @@ define( function( require ) { fill: RSColorProfile.panelLabelColorProperty, maxWidth: 180 } ); - var showTraceCheckBox = new CheckBox( showTraceText, showTracesProperty, { - checkBoxColor: RSColorProfile.panelLabelColorProperty, - checkBoxColorBackground: RSColorProfile.panelColorProperty + var showTraceCheckbox = new Checkbox( showTraceText, showTracesProperty, { + checkboxColor: RSColorProfile.panelLabelColorProperty, + checkboxColorBackground: RSColorProfile.panelColorProperty } ); - var showTraceBox = new HBox( { children: [ showTraceStrut, showTraceCheckBox ] } ); + var showTraceBox = new HBox( { children: [ showTraceStrut, showTraceCheckbox ] } ); VBox.call( this, { spacing: RSConstants.PANEL_CHILD_SPACING, @@ -237,7 +237,7 @@ define( function( require ) { // @private this.disposeContent = function() { - showTraceCheckBox.dispose(); + showTraceCheckbox.dispose(); particleEnergySlider.dispose(); }; } diff --git a/js/common/view/MenuOptionsNode.js b/js/common/view/MenuOptionsNode.js index 1c6135f..ecff138 100644 --- a/js/common/view/MenuOptionsNode.js +++ b/js/common/view/MenuOptionsNode.js @@ -11,7 +11,7 @@ define( function( require ) { 'use strict'; // modules - var CheckBox = require( 'SUN/CheckBox' ); + var Checkbox = require( 'SUN/Checkbox' ); var inherit = require( 'PHET_CORE/inherit' ); var OptionsDialog = require( 'JOIST/OptionsDialog' ); var RSGlobals = require( 'RUTHERFORD_SCATTERING/common/RSGlobals' ); @@ -29,7 +29,7 @@ define( function( require ) { function MenuOptionsNode( model ) { var children = []; - children.push( new CheckBox( new Text( optionsProjectorModeString, { font: OptionsDialog.DEFAULT_FONT } ), + children.push( new Checkbox( new Text( optionsProjectorModeString, { font: OptionsDialog.DEFAULT_FONT } ), RSGlobals.projectorModeProperty, {} ) ); VBox.call( this, _.extend( {