mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Fix Path#transform() to also return a reference to 'this'.
This commit is contained in:
parent
783d2782c0
commit
7af06502bc
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ var Path = this.Path = PathItem.extend(/** @lends Path# */{
|
|||
|
||||
// DOCS: Explain that path matrix is always applied with each transformation.
|
||||
transform: function(matrix) {
|
||||
this.base(matrix, true);
|
||||
return this.base(matrix, true);
|
||||
},
|
||||
|
||||
getMatrix: function() {
|
||||
|
|
Loading…
Reference in a new issue