Skip to content

Commit

Permalink
Increase the number of control points in the archetype, see #318
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Jan 26, 2021
1 parent bccc934 commit 1b7453d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions js/common/model/EnergySkateParkModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,9 @@ class EnergySkateParkModel extends PhetioObject {
tandem: tandem,
phetioDynamicElement: true
} ) );
}, [ [ this.controlPointGroup.createNextElement( 0, 0 ), this.controlPointGroup.createNextElement( 100, 0 ) ], [], {
draggable: true
}, [ _.range( 20 ).map( n => this.controlPointGroup.createNextElement( n * 100, 0 ) ), [], {
draggable: true,
configurable: true
} ], {
tandem: tandem.createTandem( 'trackGroup' ),
phetioType: PhetioGroup.PhetioGroupIO( Track.TrackIO ),
Expand Down

0 comments on commit 1b7453d

Please sign in to comment.