mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-07-27 22:29:11 -04:00
Add getter/setter for Path#closed.
This commit is contained in:
parent
bf3bd13540
commit
781b315808
5 changed files with 31 additions and 24 deletions
src/path
|
@ -89,7 +89,7 @@ var CompoundPath = this.CompoundPath = PathItem.extend({
|
|||
},
|
||||
|
||||
closePath: function() {
|
||||
getCurrentPath(this).closed = true;
|
||||
getCurrentPath(this).setClosed(true);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue