diff options
| author | jmoenig <jens@moenig.org> | 2013-08-07 10:33:39 +0200 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2013-08-07 10:33:39 +0200 |
| commit | e2320cae3d7e9a01ae60fb2bbb234c7940e1071a (patch) | |
| tree | 08c59a537cf81c41ee65eeb03f747427b3cdb730 /gui.js | |
| parent | a9a8ad6c9df9ad65e6b197b2170d5f5f39fbd323 (diff) | |
| download | snap-yow-e2320cae3d7e9a01ae60fb2bbb234c7940e1071a.tar.gz snap-yow-e2320cae3d7e9a01ae60fb2bbb234c7940e1071a.zip | |
Sprite Nesting preliminaries
not yet functional and disabled
Diffstat (limited to 'gui.js')
| -rw-r--r-- | gui.js | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -68,7 +68,7 @@ sb, CommentMorph, CommandBlockMorph*/ // Global stuff //////////////////////////////////////////////////////// -modules.gui = '2013-July-30'; +modules.gui = '2013-August-07'; // Declarations @@ -2153,6 +2153,17 @@ IDE_Morph.prototype.settingsMenu = function () { 'check for alternative\nGUI design', false ); + addPreference( + 'Sprite Nesting', + function () { + SpriteMorph.prototype.enableNesting = + !SpriteMorph.prototype.enableNesting; + }, + SpriteMorph.prototype.enableNesting, + 'UNDER CONSTRUCTION!\nuncheck to disable\nsprite composition', + 'UNDER CONSTRUCTION!\ncheck to enable\nsprite composition', + true + ); menu.addLine(); // everything below this line is stored in the project addPreference( 'Thread safe scripts', @@ -4718,7 +4729,7 @@ SpriteIconMorph.prototype.createThumbnail = function () { this.thumbnail = new Morph(); this.thumbnail.setExtent(this.thumbSize); - this.thumbnail.image = this.object.thumbnail(this.thumbSize); + this.thumbnail.image = this.object.fullThumbnail(this.thumbSize); this.add(this.thumbnail); }; |
