Skip to content

Commit

Permalink
Renamed [C|c]heckBox => [C|c]heckbox, see phetsims/tasks#910
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Jan 12, 2018
1 parent e9d4f56 commit 5daa79b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions js/common/view/apples/AppleSceneNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ define( function( require ) {
// modules
var AppleGraphNode = require( 'PROPORTION_PLAYGROUND/common/view/apples/AppleGraphNode' );
var AppleGroupControl = require( 'PROPORTION_PLAYGROUND/common/view/apples/AppleGroupControl' );
var CheckBox = require( 'SUN/CheckBox' );
var Checkbox = require( 'SUN/Checkbox' );
var HBox = require( 'SCENERY/nodes/HBox' );
var Image = require( 'SCENERY/nodes/Image' );
var inherit = require( 'PHET_CORE/inherit' );
Expand Down Expand Up @@ -48,7 +48,7 @@ define( function( require ) {
var appleImageNode = new Image( redAppleImage, { scale: 0.2 } );

// Check box that shows the cost per apple in a price tag
var showCostPerAppleCheckBox = new CheckBox( new Text( costPerAppleString, {
var showCostPerAppleCheckbox = new Checkbox( new Text( costPerAppleString, {
maxWidth: 293, // ceiling value from ?stringTest=double for English
font: ProportionPlaygroundConstants.CONTROL_FONT
} ), scene.showCostPerAppleProperty );
Expand All @@ -67,7 +67,7 @@ define( function( require ) {
} )
} );

this.addChild( showCostPerAppleCheckBox );
this.addChild( showCostPerAppleCheckbox );
this.addChild( appleGraphNode );

// When the "show both" ABSwitch is toggled, change which apple groups are displayed and update their layouts
Expand All @@ -85,8 +85,8 @@ define( function( require ) {
} );

// Price tag checkbox goes in the bottom left
var checkBoxInset = 10;
showCostPerAppleCheckBox.leftBottom = layoutBounds.leftBottom.plusXY( checkBoxInset, -checkBoxInset );
var checkboxInset = 10;
showCostPerAppleCheckbox.leftBottom = layoutBounds.leftBottom.plusXY( checkboxInset, -checkboxInset );
}

proportionPlayground.register( 'AppleSceneNode', AppleSceneNode );
Expand Down

0 comments on commit 5daa79b

Please sign in to comment.