diff options
| author | jmoenig <jens@moenig.org> | 2014-12-01 11:25:28 +0100 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2014-12-01 11:25:28 +0100 |
| commit | 1f5934c81f494e897c78f5dde0885e16af913e4d (patch) | |
| tree | f82c5ba9bfceb752a02b4b6f87c2600fcf4928b4 /objects.js | |
| parent | 320bfd0c990ea60e1dcf6bfdbe7538b203283709 (diff) | |
| download | snap-1f5934c81f494e897c78f5dde0885e16af913e4d.tar.gz snap-1f5934c81f494e897c78f5dde0885e16af913e4d.zip | |
Don't show hidden elements in the project thumbnail
Diffstat (limited to 'objects.js')
| -rw-r--r-- | objects.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -125,7 +125,7 @@ PrototypeHatBlockMorph*/ // Global stuff //////////////////////////////////////////////////////// -modules.objects = '2014-November-24'; +modules.objects = '2014-December-01'; var SpriteMorph; var StageMorph; @@ -5333,7 +5333,7 @@ StageMorph.prototype.thumbnail = function (extentPoint, excludedSprite) { this.dimensions.y * this.scale ); this.children.forEach(function (morph) { - if (morph !== excludedSprite) { + if (morph.isVisible && (morph !== excludedSprite)) { fb = morph.fullBounds(); fimg = morph.fullImage(); if (fimg.width && fimg.height) { |
