diff options
| author | jmoenig <jens@moenig.org> | 2013-03-19 10:34:10 +0100 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2013-03-19 10:34:10 +0100 |
| commit | 3f19a21cadf059ec17abc939739e98642239a08f (patch) | |
| tree | 2f005be420eb3d486eae3c567f7b8a358d818478 /gui.js | |
| parent | b19493897d3c8ba84b545fc3879e41d22917e8c1 (diff) | |
| download | snap-byow-3f19a21cadf059ec17abc939739e98642239a08f.tar.gz snap-byow-3f19a21cadf059ec17abc939739e98642239a08f.zip | |
Scalable Comments, auto-positioning scaled scripts
including support for auto-positioning scaled scripts (so you don't
have to clean-up when scaling blocks)
Diffstat (limited to 'gui.js')
| -rw-r--r-- | gui.js | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -64,11 +64,11 @@ standardSettings, Sound, BlockMorph, ToggleMorph, InputSlotDialogMorph, ScriptsMorph, isNil, SymbolMorph, BlockExportDialogMorph, BlockImportDialogMorph, SnapTranslator, localize, List, InputSlotMorph, SnapCloud, Uint8Array, HandleMorph, SVG_Costume, fontHeight, hex_sha512, -sb*/ +sb, CommentMorph*/ // Global stuff //////////////////////////////////////////////////////// -modules.gui = '2013-March-18'; +modules.gui = '2013-March-19'; // Declarations @@ -2787,9 +2787,11 @@ IDE_Morph.prototype.userSetBlocksScale = function () { { 'normal (1)' : 1, 'demo (1.2)' : 1.2, + 'presentation (1.4)' : 1.4, 'big (2)' : 2, 'huge (4)' : 4, - 'giant (8)' : 8 + 'giant (8)' : 8, + 'monstrous (10)' : 10 }, false, // read only? true // numeric @@ -2808,6 +2810,7 @@ IDE_Morph.prototype.setBlocksScale = function (num) { projectData = this.serializer.serialize(this.stage); } SyntaxElementMorph.prototype.setScale(num); + CommentMorph.prototype.refreshScale(); SpriteMorph.prototype.initBlocks(); this.spriteBar.tabBar.tabTo('scripts'); this.createCategories(); |
