diff options
| author | jmoenig <jens@moenig.org> | 2013-05-14 14:18:46 +0200 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2013-05-14 14:18:46 +0200 |
| commit | 4c44efdc1e7a2c1bb06274b206de7a982fb03d12 (patch) | |
| tree | 3fd05e685edf9445183f8f72351d174bba762a42 /objects.js | |
| parent | b250bb26835c6c4f3708e66ee32912db71e40d8d (diff) | |
| download | snap-byow-4c44efdc1e7a2c1bb06274b206de7a982fb03d12.tar.gz snap-byow-4c44efdc1e7a2c1bb06274b206de7a982fb03d12.zip | |
Paint editor fixes
Diffstat (limited to 'objects.js')
| -rw-r--r-- | objects.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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'); |
