mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-22 07:19:57 -05:00
Use Item.draw in rasterize
This commit is contained in:
parent
734cc1cc61
commit
1bb7c9f1aa
1 changed files with 1 additions and 1 deletions
|
@ -1020,7 +1020,7 @@ var Item = this.Item = Base.extend(Callback, /** @lends Item# */{
|
|||
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