Skip to content

Commit

Permalink
rename RightControlPanel -> UpperRightControlPanel, see #192
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronsamuel137 committed Nov 16, 2015
1 parent f6f8d93 commit 4ed2ac1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/common/view/UpperRightControlPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ define( function( require ) {
* @param {Object} [options]
* @constructor
*/
function RightControlPanel( module, options ) {
function UpperRightControlPanel( module, options ) {

options = _.extend( _.clone( GravityAndOrbitsConstants.CONTROL_PANEL_OPTIONS ), options );

Expand All @@ -44,7 +44,7 @@ define( function( require ) {
new CheckboxPanel( module, MENU_SECTION_OPTIONS )
];

assert && assert( sections.length === 5, 'There should be 5 sections in the RightControlPanel' );
assert && assert( sections.length === 5, 'There should be 5 sections in the UpperRightControlPanel' );

var vBox = new VBox( { children: sections, spacing: 4, y: 5, resize: false, align: 'left' } );
Panel.call( this, vBox, options );
Expand All @@ -56,5 +56,5 @@ define( function( require ) {
}
}

return inherit( Panel, RightControlPanel );
return inherit( Panel, UpperRightControlPanel );
} );

0 comments on commit 4ed2ac1

Please sign in to comment.