summaryrefslogtreecommitdiff
path: root/gui.js
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2014-07-11 17:23:43 +0200
committerjmoenig <jens@moenig.org>2014-07-11 17:23:43 +0200
commita33400d6d23067dcf574a83cff7d2412e2fc9926 (patch)
tree8e6d1052071bc0a640aa33bdefe7dce1a499a29b /gui.js
parentf27e72e2b2005f96d680e12efb59aa146969d0ec (diff)
downloadsnap-yow-a33400d6d23067dcf574a83cff7d2412e2fc9926.tar.gz
snap-yow-a33400d6d23067dcf574a83cff7d2412e2fc9926.zip
fixed #507 (limit persistent block zoom to 12x)
thanks, @cycomachead !
Diffstat (limited to 'gui.js')
-rw-r--r--gui.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui.js b/gui.js
index 23a2250..5ed10b5 100644
--- a/gui.js
+++ b/gui.js
@@ -3493,7 +3493,7 @@ IDE_Morph.prototype.userSetBlocksScale = function () {
new DialogBoxMorph(
null,
function (num) {
- myself.setBlocksScale(num);
+ myself.setBlocksScale(Math.min(num, 12));
}
).withKey('zoomBlocks').prompt(
'Zoom blocks',