From 4ed2ac17a9f2d63ef298653753182570d831c9bf Mon Sep 17 00:00:00 2001 From: aaronsamuel137 Date: Mon, 16 Nov 2015 08:36:52 -0700 Subject: [PATCH] rename RightControlPanel -> UpperRightControlPanel, see #192 --- js/common/view/UpperRightControlPanel.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/common/view/UpperRightControlPanel.js b/js/common/view/UpperRightControlPanel.js index d72d7ff4..715bf863 100644 --- a/js/common/view/UpperRightControlPanel.js +++ b/js/common/view/UpperRightControlPanel.js @@ -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 ); @@ -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 ); @@ -56,5 +56,5 @@ define( function( require ) { } } - return inherit( Panel, RightControlPanel ); + return inherit( Panel, UpperRightControlPanel ); } ); \ No newline at end of file