Merge pull request #150 from yscik/rasterize-opacity

Group opacity disregarded in rasterize
This commit is contained in:
Jürg Lehni 2013-02-14 19:40:45 -08:00
commit 53b36111dd

View file

@ -1106,7 +1106,7 @@ var Item = this.Item = Base.extend(Callback, {
matrix = new Matrix().scale(scale).translate(-bounds.x, -bounds.y);
matrix.applyToContext(ctx);
// XXX: Decide how to handle _matrix
this.draw(ctx, {});
Item.draw(this, ctx, {});
var raster = new Raster(canvas);
raster.setBounds(bounds);
return raster;