mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-08 05:42:07 -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) {
|
draw: function(ctx, param) {
|
||||||
if (param.selection) {
|
if (param.selection) {
|
||||||
Item.drawSelectedBounds(this._getBounds(this, 'bounds'), ctx,
|
Item.drawSelectedBounds(this.symbol._definition.getBounds(), ctx,
|
||||||
this._matrix);
|
this._matrix);
|
||||||
} else {
|
} else {
|
||||||
ctx.save();
|
ctx.save();
|
||||||
|
|
Loading…
Reference in a new issue