From 98772028bb648317a8825090540f81f71ad0003e Mon Sep 17 00:00:00 2001 From: jmoenig Date: Fri, 11 Jul 2014 17:32:12 +0200 Subject: limit persistent blocks zoom to 12 --- gui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui.js') 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(); } -- cgit v1.3.1