Skip to content

Commit

Permalink
remove unused dotsClipArea field, see #170
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Sep 8, 2018
1 parent c029514 commit a3278ac
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions js/resistance-in-a-wire/view/DotsCanvasNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ define( function( require ) {
this.areaProperty = model.areaProperty;
this.lengthProperty = model.lengthProperty;

// @public - dots outside of this area will be invisible, set when shape is recalculated in WireNode
this.dotsClipArea = null;

// calculate bounds for the canvas - wire center is at (0, 0)
var height = WireShapeConstants.areaToHeight( ResistanceInAWireConstants.AREA_RANGE.max );
var width = WireShapeConstants.lengthToWidth( ResistanceInAWireConstants.LENGTH_RANGE.max );
Expand Down

0 comments on commit a3278ac

Please sign in to comment.