Skip to content

Commit

Permalink
review comments, #154
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Aug 7, 2021
1 parent 0dd78e0 commit 7181504
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions js/common/view/OpticNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ class OpticNode extends Node {
} );

// {Path} create the fill (or backing) path of the optic
// REVIEW: This is a very generic name, I'd recommend improving.
const fillPath = new Path( modelViewTransform.modelToViewShape( optic.shapesProperty.value.fillShape ), {
fill: options.fill
} );
Expand Down
2 changes: 1 addition & 1 deletion js/common/view/SourceObjectNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ class SourceObjectNode extends Node {
stroke: SECOND_SOURCE_POINT_STROKE
}, options );

return new Circle( options );
return new Circle( options ); // REVIEW: this takes a radius as the first arg
}

/**
Expand Down

0 comments on commit 7181504

Please sign in to comment.