mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Fix the drawing of PlacedSymbol bounds when selected.
This commit is contained in:
parent
ac18786109
commit
e82deff4b9
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue