Skip to content

Commit

Permalink
Reformatted, see #243
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Jul 6, 2016
1 parent 83544be commit 4ba3c1c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/buttons/StepButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ define( function( require ) {
}, options );

assert && assert( options.direction === 'forward' || options.direction === 'backward',
'unsupported direction: ' + options.direction );
'unsupported direction: ' + options.direction );

// step icon is sized relative to the radius
var BAR_WIDTH = options.radius * 0.15;
Expand All @@ -62,10 +62,10 @@ define( function( require ) {
.close(), {
fill: options.iconFill
} );
var stepIcon = new HBox( {
var stepIcon = new HBox( {
children: [ barPath, trianglePath ],
spacing: BAR_WIDTH,
rotation: ( options.direction === 'forward' )? 0 : Math.PI
rotation: ( options.direction === 'forward' ) ? 0 : Math.PI
} );

assert && assert( !options.content, 'button creates its own content' );
Expand Down

0 comments on commit 4ba3c1c

Please sign in to comment.