summaryrefslogtreecommitdiff
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
parentf27e72e2b2005f96d680e12efb59aa146969d0ec (diff)
downloadsnap-a33400d6d23067dcf574a83cff7d2412e2fc9926.tar.gz
snap-a33400d6d23067dcf574a83cff7d2412e2fc9926.zip
fixed #507 (limit persistent block zoom to 12x)
thanks, @cycomachead !
-rw-r--r--gui.js2
-rwxr-xr-xhistory.txt1
2 files changed, 2 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',
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!