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 60404d6 commit 6f94784
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/wave-on-a-string/view/WOASView.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ define( function( require ) {
model.playProperty.lazyLink( function( isPlaying ) {
playPauseButton.scale( isPlaying ? ( 1 / pauseSizeIncreaseFactor ) : pauseSizeIncreaseFactor );
} );
this.addChild( new StepForwardButton( model.manualStep.bind( model ), model.playProperty, {
this.addChild( new StepForwardButton( model.playProperty, {
listener: model.manualStep.bind( model ),
x: centerControlX + 94,
centerY: centerControlY,
scale: 0.6,
Expand Down

0 comments on commit 6f94784

Please sign in to comment.