mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 14:10:14 -05:00
Fix drawing of groups where a compound path is used as a clip mask.
This commit is contained in:
parent
88a7fcc92b
commit
33c13b36a3
1 changed files with 2 additions and 0 deletions
|
@ -117,6 +117,8 @@ var CompoundPath = this.CompoundPath = PathItem.extend(/** @lends CompoundPath#
|
|||
param.compound = true;
|
||||
for (var i = 0, l = children.length; i < l; i++)
|
||||
Item.draw(children[i], ctx, param);
|
||||
if (this._clipMask)
|
||||
ctx.clip();
|
||||
param.compound = false;
|
||||
this._setStyles(ctx);
|
||||
if (style._fillColor)
|
||||
|
|
Loading…
Reference in a new issue