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 bc6e4df commit 97439ef
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions js/mrna-production/view/MessengerRnaProductionScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ define( function( require ) {
'use strict';

// modules
var CheckBox = require( 'SUN/CheckBox' );
var Checkbox = require( 'SUN/Checkbox' );
var DnaMoleculeNode = require( 'GENE_EXPRESSION_ESSENTIALS/common/view/DnaMoleculeNode' );
var geneExpressionEssentials = require( 'GENE_EXPRESSION_ESSENTIALS/geneExpressionEssentials' );
var inherit = require( 'PHET_CORE/inherit' );
Expand Down Expand Up @@ -110,12 +110,12 @@ define( function( require ) {
controlsNode.addChild( negativeTranscriptionFactorControlPanel );

// Add the check box for showing/hiding the control panel for the negative transcription factor.
var negativeFactorEnabledCheckBox = new CheckBox(
var negativeFactorEnabledCheckbox = new Checkbox(
new Text( negativeTranscriptionFactorString, { font: new PhetFont( 18 ), maxWidth: 275 } ),
this.negativeTranscriptionFactorEnabled,
{ boxWidth: 20 }
);
controlsNode.addChild( negativeFactorEnabledCheckBox );
controlsNode.addChild( negativeFactorEnabledCheckbox );

// Only show the control for the negative transcription factor if it is enabled.
this.negativeTranscriptionFactorEnabled.link( function( enabled ) {
Expand Down Expand Up @@ -164,11 +164,11 @@ define( function( require ) {

negativeTranscriptionFactorControlPanel.left = polymeraseAffinityControlPanel.right + INSET;
negativeTranscriptionFactorControlPanel.bottom = polymeraseAffinityControlPanel.bottom;
negativeFactorEnabledCheckBox.left = negativeTranscriptionFactorControlPanel.right + INSET;
negativeFactorEnabledCheckBox.centerY = resetAllButton.centerY;
negativeFactorEnabledCheckbox.left = negativeTranscriptionFactorControlPanel.right + INSET;
negativeFactorEnabledCheckbox.centerY = resetAllButton.centerY;

playPauseButton.bottom = negativeFactorEnabledCheckBox.top - 2 * INSET;
playPauseButton.centerX = negativeFactorEnabledCheckBox.centerX;
playPauseButton.bottom = negativeFactorEnabledCheckbox.top - 2 * INSET;
playPauseButton.centerX = negativeFactorEnabledCheckbox.centerX;

stepButton.centerY = playPauseButton.centerY;
stepButton.left = playPauseButton.right + INSET;
Expand Down

0 comments on commit 97439ef

Please sign in to comment.