From a33400d6d23067dcf574a83cff7d2412e2fc9926 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Fri, 11 Jul 2014 17:23:43 +0200 Subject: fixed #507 (limit persistent block zoom to 12x) thanks, @cycomachead ! --- gui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui.js') 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', -- cgit v1.3.1