mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Remove unnecessary call of new Point().
This commit is contained in:
parent
dc410b6894
commit
8cdd7fe2b2
1 changed files with 0 additions and 1 deletions
|
@ -213,7 +213,6 @@ var Point = Base.extend({
|
|||
},
|
||||
|
||||
isClose: function(point, tolerance) {
|
||||
point = new Point(point);
|
||||
return this.getDistance(point) < tolerance;
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue