Skip to content

Commit

Permalink
Added docs, see #64
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Feb 14, 2018
1 parent cf269ca commit a72931b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/friction/view/magnifier/AtomCanvasNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ define( function( require ) {
// TODO: why not render these with scenery and use Node.toImage? or toImageSynchronous?
// TODO: or just use SphereNode.toImage?
this.particleImageCanvas = document.createElement( 'canvas' );
this.particleImageCanvas.width = PARTICLE_IMAGE_SIZE * 2; // wide enough to accommodate two particles
this.particleImageCanvas.width = PARTICLE_IMAGE_SIZE * 2; // wide enough to accommodate two particles // TODO: WHY?
this.particleImageCanvas.height = PARTICLE_IMAGE_SIZE;

// the particle radius must be a little smaller than half the image to allow space for the stroke
Expand Down

0 comments on commit a72931b

Please sign in to comment.