mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -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.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;
|
||||
|
|
Loading…
Reference in a new issue