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 bdbfc3d commit ba55b46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/intro/view/NormalAndFastForwardTimeControlPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ define( function( require ) {
var playPauseButton = new PlayPauseButton( model.playProperty, { radius: 20 } );

// Add the step button to manually step animation.
var stepButton = new StepForwardButton( function() { model.manualStep(); }, model.playProperty, {
var stepButton = new StepForwardButton( model.playProperty, {
listener: function() { model.manualStep(); },
radius: 15,
centerX: playPauseButton.centerX
} );
Expand Down

0 comments on commit ba55b46

Please sign in to comment.