summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2014-07-11 17:32:12 +0200
committerjmoenig <jens@moenig.org>2014-07-11 17:32:12 +0200
commit98772028bb648317a8825090540f81f71ad0003e (patch)
treeda2648541646175e70596695b8befd77d50f7f1c
parenta33400d6d23067dcf574a83cff7d2412e2fc9926 (diff)
downloadsnap-98772028bb648317a8825090540f81f71ad0003e.tar.gz
snap-98772028bb648317a8825090540f81f71ad0003e.zip
limit persistent blocks zoom to 12
-rw-r--r--gui.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui.js b/gui.js
index 5ed10b5..9b5f577 100644
--- a/gui.js
+++ b/gui.js
@@ -1725,7 +1725,7 @@ IDE_Morph.prototype.applySavedSettings = function () {
// blocks zoom
if (zoom) {
- SyntaxElementMorph.prototype.setScale(zoom);
+ SyntaxElementMorph.prototype.setScale(Math.min(zoom, 12));
CommentMorph.prototype.refreshScale();
SpriteMorph.prototype.initBlocks();
}