mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-07 13:22:07 -05:00
Merge pull request #150 from yscik/rasterize-opacity
Group opacity disregarded in rasterize
This commit is contained in:
commit
53b36111dd
1 changed files with 1 additions and 1 deletions
|
@ -1106,7 +1106,7 @@ var Item = this.Item = Base.extend(Callback, {
|
||||||
matrix = new Matrix().scale(scale).translate(-bounds.x, -bounds.y);
|
matrix = new Matrix().scale(scale).translate(-bounds.x, -bounds.y);
|
||||||
matrix.applyToContext(ctx);
|
matrix.applyToContext(ctx);
|
||||||
// XXX: Decide how to handle _matrix
|
// XXX: Decide how to handle _matrix
|
||||||
this.draw(ctx, {});
|
Item.draw(this, ctx, {});
|
||||||
var raster = new Raster(canvas);
|
var raster = new Raster(canvas);
|
||||||
raster.setBounds(bounds);
|
raster.setBounds(bounds);
|
||||||
return raster;
|
return raster;
|
||||||
|
|
Loading…
Reference in a new issue