Skip to content

Commit

Permalink
StepBackButton, StepForwardButton: remove stepFunction param, use opt…
Browse files Browse the repository at this point in the history
…ions.listener, phetsims/scenery-phet#243
  • Loading branch information
pixelzoom committed Jul 6, 2016
1 parent ed90db7 commit 3415414
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ define( function( require ) {
playPauseButton.scale( isPlaying ? ( 1 / pauseSizeIncreaseFactor ) : pauseSizeIncreaseFactor );
} );

var stepButton = new StepForwardButton( function() { model.manualStep(); }, playProperty, {
var stepButton = new StepForwardButton( playProperty, {
listener: function() { model.manualStep(); },
phetioID: options.tandem.createTandem( 'stepButton' )
} );

Expand Down

0 comments on commit 3415414

Please sign in to comment.