diff --git a/js/BooleanToggleNode.js b/js/BooleanToggleNode.js index 32ffd5c4..b512e93b 100644 --- a/js/BooleanToggleNode.js +++ b/js/BooleanToggleNode.js @@ -23,13 +23,6 @@ define( function( require ) { * @constructor */ function BooleanToggleNode( trueNode, falseNode, booleanProperty, options ) { - - options = _.extend( { - - // For compatibility with prior usage, we align the x coordinate - alignChildren: ToggleNode.HORIZONTAL - }, options ); - ToggleNode.call( this, [ { value: true, node: trueNode }, { value: false, node: falseNode } diff --git a/js/ToggleNode.js b/js/ToggleNode.js index 3ed4df87..668b13dc 100644 --- a/js/ToggleNode.js +++ b/js/ToggleNode.js @@ -35,8 +35,7 @@ define( function( require ) { options = _.extend( { - // By default, line up the centers of all nodes with the center of the first node. - // NOTE this is different than in ToggleNode + // By default, line up the centers of all nodes with the center of the first node (horizontally and vertically) alignChildren: ToggleNode.CENTER }, options );