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 5a6d242 commit b3affbc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/common/view/PendulumSystemControlPanelNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ define( function( require ) {
radius: 16,
touchAreaDilation: 5
} ),
new StepForwardButton( stepFunction, playProperty, {
new StepForwardButton( playProperty, {
listener: stepFunction,
radius: 12,
touchAreaDilation: 5
} )
Expand Down

0 comments on commit b3affbc

Please sign in to comment.