mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
Merge pull request #1208 from ericrosenbaum/feature/increase-pen-size
Increase maximum pen size to 1200
This commit is contained in:
commit
332e90e408
1 changed files with 3 additions and 1 deletions
|
@ -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};
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue