mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Pass on correct matrix in CompoundPath#getPathData().
This commit is contained in:
parent
3137843831
commit
69a2fcff46
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ var CompoundPath = PathItem.extend(/** @lends CompoundPath# */{
|
|||
var child = children[i],
|
||||
mx = child._matrix;
|
||||
paths.push(child.getPathData(_matrix && !mx.isIdentity()
|
||||
? _matrix.chain(mx) : mx, _precision));
|
||||
? _matrix.chain(mx) : _matrix, _precision));
|
||||
}
|
||||
return paths.join(' ');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue