PlacedSymbol: add missing param object to PlacedSymbol#definition#draw call.

This commit is contained in:
Jonathan Puckey 2011-02-25 13:13:46 +01:00
parent 76e7045785
commit ec0b1dec1d

View file

@ -46,7 +46,7 @@ PlacedSymbol = Item.extend({
// TODO: we need to preserve strokewidth, but still transform the fill // TODO: we need to preserve strokewidth, but still transform the fill
ctx.save(); ctx.save();
this.matrix.applyToContext(ctx); this.matrix.applyToContext(ctx);
this.symbol.definition.draw(ctx); this.symbol.definition.draw(ctx, param);
ctx.restore(); ctx.restore();
} }
} }