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 +- history.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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', diff --git a/history.txt b/history.txt index 8e4344f..541905e 100755 --- a/history.txt +++ b/history.txt @@ -2195,3 +2195,4 @@ ______ * Blocks: change the color of the %pause symbol to be more yellowish * Threads: fixed #506, thanks @haritop, for both the report and for providing the fix!! * GUI: fixed #412 (incomplete sprite-removal) +* GUI: fixed #507 (limit persistent block zoom to 12x), thanks Michael! -- cgit v1.3.1