No need to call #getDefinition() internally.

Use private value directly.
This commit is contained in:
Jürg Lehni 2011-12-18 16:55:24 +01:00
parent 9e5eb17264
commit d2b1c77686

View file

@ -105,7 +105,7 @@ var PlacedSymbol = this.PlacedSymbol = PlacedItem.extend(/** @lends PlacedSymbol
Item.drawSelectedBounds(this.symbol._definition.getBounds(), ctx,
this._matrix);
} else {
Item.draw(this.symbol.getDefinition(), ctx, param);
Item.draw(this.symbol._definition, ctx, param);
}
}