mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 14:10:14 -05:00
Fix handling of param.clip in CompoundPath#draw.
This commit is contained in:
parent
e5c32b9520
commit
e3760afecd
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ var CompoundPath = this.CompoundPath = PathItem.extend(/** @lends CompoundPath#
|
|||
for (var i = 0, l = children.length; i < l; i++)
|
||||
Item.draw(children[i], ctx, param);
|
||||
param.compound = false;
|
||||
if (this._clipMask) {
|
||||
if (param.clip || this._clipMask) {
|
||||
ctx.clip();
|
||||
} else {
|
||||
this._setStyles(ctx);
|
||||
|
|
Loading…
Reference in a new issue