Fix drawing of groups where a compound path is used as a clip mask.

This commit is contained in:
Jonathan Puckey 2012-11-06 11:58:27 +01:00
parent 88a7fcc92b
commit 33c13b36a3

View file

@ -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)