mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
Fix Path#closePath & CompoundPath#closePath.
This commit is contained in:
parent
499c421021
commit
2a9bbd3dee
2 changed files with 2 additions and 2 deletions
|
@ -114,7 +114,7 @@ var CompoundPath = this.CompoundPath = PathItem.extend({
|
|||
|
||||
closePath: function() {
|
||||
var path = getCurrentPath(this);
|
||||
path.setClosed(true);
|
||||
path.closed = true;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -667,7 +667,7 @@ var Path = this.Path = PathItem.extend({
|
|||
},
|
||||
|
||||
closePath: function() {
|
||||
this.closed = ture;
|
||||
this.closed = true;
|
||||
}
|
||||
};
|
||||
}, new function() { // A dedicated scope for the tricky bounds calculations
|
||||
|
|
Loading…
Reference in a new issue