Skip to content

Commit

Permalink
#255 pull out fill properties related to home screen, add TODO item a…
Browse files Browse the repository at this point in the history
…bout moving them to LookAndFeel
  • Loading branch information
pixelzoom committed Jun 30, 2015
1 parent 8e12279 commit b4e8a54
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion js/HomeScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,10 @@ define( function( require ) {
center.centerX = homeScreenView.layoutBounds.width / 2;
} );

this.phetButton = new PhetButton( sim, new Property( 'black' ), new Property( 'white' ), {
//TODO joist#255 move these fill properties to LookAndFeel, chase down other places that they should be used
var homeScreenFillProperty = new Property( 'black' );
var homeScreenTextFillProperty = new Property( 'white' );
this.phetButton = new PhetButton( sim, homeScreenFillProperty, homeScreenTextFillProperty, {
tandem: options.tandem ? options.tandem.createTandem( 'phetButton' ) : null
} );
this.addChild( this.phetButton );
Expand Down

0 comments on commit b4e8a54

Please sign in to comment.