Skip to content

Commit

Permalink
Addressed REVIEW: Refactor "Shelf" to "ShelfNode" phetsims/masses-and…
Browse files Browse the repository at this point in the history
  • Loading branch information
Denz1994 committed Jan 30, 2019
1 parent c697391 commit 666bd5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/common/view/SpringScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ define( function( require ) {
var Property = require( 'AXON/Property' );
var ResetAllButton = require( 'SCENERY_PHET/buttons/ResetAllButton' );
var ScreenView = require( 'JOIST/ScreenView' );
var Shelf = require( 'MASSES_AND_SPRINGS/common/view/Shelf' );
var ShelfNode = require( 'MASSES_AND_SPRINGS/common/view/ShelfNode' );
var SpringControlPanel = require( 'MASSES_AND_SPRINGS/common/view/SpringControlPanel' );
var StopperButtonNode = require( 'MASSES_AND_SPRINGS/common/view/StopperButtonNode' );
var StringUtils = require( 'PHETCOMMON/util/StringUtils' );
Expand Down Expand Up @@ -153,7 +153,7 @@ define( function( require ) {
} );

// @public {Shelf} Add shelf for to house massNodes
this.shelf = new Shelf( tandem, {
this.shelf = new ShelfNode( tandem, {
rectHeight: 7
} );
this.shelf.rectY = this.modelViewTransform.modelToViewY( MassesAndSpringsConstants.FLOOR_Y ) - this.shelf.rectHeight;
Expand Down

0 comments on commit 666bd5e

Please sign in to comment.