mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-03-13 16:33:28 -04:00
Fix comment.
This commit is contained in:
parent
22ddd7a37e
commit
e10ef4dba3
1 changed files with 2 additions and 2 deletions
|
@ -1272,8 +1272,8 @@ var Path = this.Path = PathItem.extend(/** @lends Path# */{
|
|||
|
||||
contains: function(point) {
|
||||
point = Point.read(arguments);
|
||||
// If the path is not closed, it we should not bail out in case it has
|
||||
// a fill color!
|
||||
// If the path is not closed, we should not bail out in case it has a
|
||||
// fill color!
|
||||
if (!this._closed && !this._style._fillColor
|
||||
|| !this.getRoughBounds()._containsPoint(point))
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue