Fix bug in previous commit.

This commit is contained in:
Jonathan Puckey 2011-04-28 12:39:55 +02:00
parent 1666a36210
commit 861812f3ad

View file

@ -454,7 +454,7 @@ var Item = this.Item = Base.extend({
y2 = Math.max(rect.y + rect.height, y2);
}
return includeStroke
? Rectangle.create(x1, y1, x2 - x1, y2 - y1),
? Rectangle.create(x1, y1, x2 - x1, y2 - y1)
: LinkedRectangle.create(this, 'setBounds',
x1, y1, x2 - x1, y2 - y1);
}