mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-07 13:22:07 -05:00
Fix bug in previous commit.
This commit is contained in:
parent
1666a36210
commit
861812f3ad
1 changed files with 1 additions and 1 deletions
|
@ -454,7 +454,7 @@ var Item = this.Item = Base.extend({
|
||||||
y2 = Math.max(rect.y + rect.height, y2);
|
y2 = Math.max(rect.y + rect.height, y2);
|
||||||
}
|
}
|
||||||
return includeStroke
|
return includeStroke
|
||||||
? Rectangle.create(x1, y1, x2 - x1, y2 - y1),
|
? Rectangle.create(x1, y1, x2 - x1, y2 - y1)
|
||||||
: LinkedRectangle.create(this, 'setBounds',
|
: LinkedRectangle.create(this, 'setBounds',
|
||||||
x1, y1, x2 - x1, y2 - y1);
|
x1, y1, x2 - x1, y2 - y1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue