Skip to content

Commit

Permalink
Supply tandems, see phetsims/scenery-phet#262
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Jan 3, 2017
1 parent e74b03d commit 71e019e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions js/ScoreboardBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ define( function( require ) {
yMargin: 10,
backgroundFill: 'rgb( 49, 117, 202 )',
backgroundStroke: null,
backgroundLineWidth: 1
backgroundLineWidth: 1,
tandem: Tandem.createDefaultTandem( 'scoreboardBar' )
}, options );

Tandem.validateOptions( options ); // The tandem is required when brand==='phet-io'
Expand Down Expand Up @@ -127,7 +128,7 @@ define( function( require ) {
xMargin: options.startOverButtonXMargin,
yMargin: options.startOverButtonYMargin,
maxWidth: screenWidth - leftParentNode.maxWidth - options.leftMargin - options.rightMargin - options.xSpacing, // constrain width for i18n
tandem: options.tandem && options.tandem.createTandem( 'startOverButton' )
tandem: options.tandem.createTandem( 'startOverButton' )
} );

// background
Expand Down

0 comments on commit 71e019e

Please sign in to comment.