From 12859d7a24e0779d39440d20500710ea1490a0e2 Mon Sep 17 00:00:00 2001 From: Jonathan Puckey Date: Mon, 28 Feb 2011 16:41:24 +0100 Subject: [PATCH] Item: pass on param object to Item#draw. --- src/item/Item.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/item/Item.js b/src/item/Item.js index 450e6278..ad1545ef 100644 --- a/src/item/Item.js +++ b/src/item/Item.js @@ -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);