Merge pull request #1208 from ericrosenbaum/feature/increase-pen-size

Increase maximum pen size to 1200
This commit is contained in:
Eric Rosenbaum 2018-06-06 10:16:15 -04:00 committed by GitHub
commit 332e90e408
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,10 +91,12 @@ class Scratch3PenBlocks {
/** /**
* The minimum and maximum allowed pen size. * The minimum and maximum allowed pen size.
* The maximum is twice the diagonal of the stage, so that even an
* off-stage sprite can fill it.
* @type {{min: number, max: number}} * @type {{min: number, max: number}}
*/ */
static get PEN_SIZE_RANGE () { static get PEN_SIZE_RANGE () {
return {min: 1, max: 255}; return {min: 1, max: 1200};
} }
/** /**