mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Check for Path#closed in Path#equals()
This commit is contained in:
parent
7bc6da5401
commit
1de750bc77
1 changed files with 2 additions and 1 deletions
|
@ -123,7 +123,8 @@ var Path = PathItem.extend(/** @lends Path# */{
|
||||||
},
|
},
|
||||||
|
|
||||||
_equals: function(item) {
|
_equals: function(item) {
|
||||||
return Base.equals(this._segments, item._segments);
|
return this._closed === item._closed
|
||||||
|
&& Base.equals(this._segments, item._segments);
|
||||||
},
|
},
|
||||||
|
|
||||||
clone: function(insert) {
|
clone: function(insert) {
|
||||||
|
|
Loading…
Reference in a new issue