diff --git a/src/Layer.js b/src/Layer.js index 83a86bf5..9fc6e930 100644 --- a/src/Layer.js +++ b/src/Layer.js @@ -4,9 +4,9 @@ Layer = Item.extend({ this.children = []; }, - draw: function() { + draw: function(ctx) { for(var i = 0, l = this.children.length; i < l; i++) { - this.children[i].draw(); + this.children[i].draw(ctx); } } }); \ No newline at end of file