From 4c44efdc1e7a2c1bb06274b206de7a982fb03d12 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Tue, 14 May 2013 14:18:46 +0200 Subject: Paint editor fixes --- objects.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'objects.js') diff --git a/objects.js b/objects.js index f50194b..5b03f2d 100644 --- a/objects.js +++ b/objects.js @@ -4519,7 +4519,7 @@ Costume.prototype.bounds = function () { Costume.prototype.shrinkWrap = function () { // adjust my contents' bounds to my visible bounding box - var bb = this.boundingBox(), + var bb = this.boundingBox().expandBy(3), // tolerance for anti-aliasing ext = bb.extent(), pic = newCanvas(ext), ctx = pic.getContext('2d'); -- cgit v1.3.1