Fix the drawing of PlacedSymbol bounds when selected.

This commit is contained in:
Jürg Lehni 2011-11-27 14:55:49 +00:00
parent ac18786109
commit e82deff4b9

View file

@ -101,7 +101,7 @@ var PlacedSymbol = this.PlacedSymbol = PlacedItem.extend(/** @lends PlacedSymbol
draw: function(ctx, param) {
if (param.selection) {
Item.drawSelectedBounds(this._getBounds(this, 'bounds'), ctx,
Item.drawSelectedBounds(this.symbol._definition.getBounds(), ctx,
this._matrix);
} else {
ctx.save();