Item: pass on param object to Item#draw.

This commit is contained in:
Jonathan Puckey 2011-02-28 16:41:24 +01:00
parent b03ad9b090
commit 12859d7a24

View file

@ -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);