Skip to content

Commit

Permalink
add options.buttonRotation for adjusting lighting, phetsims/models-of…
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Jan 11, 2016
1 parent dd51b8b commit ca0a71e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/LaserPointerNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ define( function( require ) {
buttonColor: 'red',
buttonRadius: 22,
buttonTouchExpansion: 15,
buttonRotation: 0, // {number} use this to adjust lighting on the button

// PhET-iO
tandem: null
Expand Down Expand Up @@ -81,6 +82,7 @@ define( function( require ) {
radius: options.buttonRadius,
touchExpansion: options.buttonTouchExpansion,
baseColor: options.buttonColor,
rotation: options.buttonRotation,
center: bodyNode.center,
tandem: options.tandem && options.tandem.createTandem( 'button' )
};
Expand Down

0 comments on commit ca0a71e

Please sign in to comment.