mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Fix error in CompoundPath#closePath(): Forgot to pass 'this' to getCurrentPath().
This commit is contained in:
parent
1d37c7b76f
commit
490ef78b53
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ CompoundPath = PathItem.extend({
|
|||
},
|
||||
|
||||
closePath: function() {
|
||||
var path = getCurrentPath();
|
||||
var path = getCurrentPath(this);
|
||||
path.setClosed(true);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue