mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Item: pass on param object to Item#draw.
This commit is contained in:
parent
b03ad9b090
commit
12859d7a24
1 changed files with 1 additions and 1 deletions
|
@ -547,7 +547,7 @@ Item = Base.extend({
|
|||
var context = canvas.getContext('2d');
|
||||
var matrix = new Matrix().scale(scale).translate(-bounds.x, -bounds.y);
|
||||
matrix.applyToContext(context);
|
||||
this.draw(context);
|
||||
this.draw(context, {});
|
||||
var raster = new Raster(canvas);
|
||||
raster.position = this.bounds.center;
|
||||
raster.scale(1 / scale);
|
||||
|
|
Loading…
Reference in a new issue