mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Prebuilt module for commit 5cd1ca13c5
This commit is contained in:
parent
7930d255f7
commit
09d3cf56e4
7 changed files with 52 additions and 30 deletions
20
CHANGELOG.md
20
CHANGELOG.md
|
@ -1,5 +1,25 @@
|
|||
# Change Log
|
||||
|
||||
## `Prebuilt`
|
||||
|
||||
### Fixed
|
||||
- Fix reference error in webpack bundle in node server rendering react
|
||||
application (#1482).
|
||||
- Fix memory leak on Gradient Color (#1499, #1511).
|
||||
- Fix item wrong position (#1478, #1503).
|
||||
- Improve performances with lots of items (#1493).
|
||||
- Fix errors with events on mobile (#1501).
|
||||
- Fix selected position display in a group with matrix not applied.
|
||||
- Fix `Project#importSVG()` attributes application (#1416).
|
||||
|
||||
### Added
|
||||
- `Curve#getTimesWithTangent()` and `Path#getOffsetsWithTangent()` as ways to
|
||||
get curve-times / offsets where path is tangential to a vector.
|
||||
- Transparent color support (#1539).
|
||||
- `Raster#smoothing` as a way to control if pixels should be blured when a
|
||||
raster is scaled up (#1521).
|
||||
- Hexadecimal with alpha color (#1468).
|
||||
|
||||
## `0.11.5`
|
||||
|
||||
### Fixed
|
||||
|
|
6
dist/docs/assets/js/paper.js
vendored
6
dist/docs/assets/js/paper.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Wed Oct 10 23:10:51 2018 +0200
|
||||
* Date: Sat Oct 13 21:43:17 2018 +0900
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -4462,8 +4462,10 @@ new function() {
|
|||
mainCtx, itemOffset, prevOffset;
|
||||
if (!direct) {
|
||||
var bounds = this.getStrokeBounds(viewMatrix);
|
||||
if (!bounds.width || !bounds.height)
|
||||
if (!bounds.width || !bounds.height) {
|
||||
matrices.pop();
|
||||
return;
|
||||
}
|
||||
prevOffset = param.offset;
|
||||
itemOffset = param.offset = bounds.getTopLeft().floor();
|
||||
mainCtx = ctx;
|
||||
|
|
6
dist/paper-core.js
vendored
6
dist/paper-core.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Wed Oct 10 23:10:51 2018 +0200
|
||||
* Date: Sat Oct 13 21:43:17 2018 +0900
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -4462,8 +4462,10 @@ new function() {
|
|||
mainCtx, itemOffset, prevOffset;
|
||||
if (!direct) {
|
||||
var bounds = this.getStrokeBounds(viewMatrix);
|
||||
if (!bounds.width || !bounds.height)
|
||||
if (!bounds.width || !bounds.height) {
|
||||
matrices.pop();
|
||||
return;
|
||||
}
|
||||
prevOffset = param.offset;
|
||||
itemOffset = param.offset = bounds.getTopLeft().floor();
|
||||
mainCtx = ctx;
|
||||
|
|
4
dist/paper-core.min.js
vendored
4
dist/paper-core.min.js
vendored
File diff suppressed because one or more lines are too long
6
dist/paper-full.js
vendored
6
dist/paper-full.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Wed Oct 10 23:10:51 2018 +0200
|
||||
* Date: Sat Oct 13 21:43:17 2018 +0900
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -4462,8 +4462,10 @@ new function() {
|
|||
mainCtx, itemOffset, prevOffset;
|
||||
if (!direct) {
|
||||
var bounds = this.getStrokeBounds(viewMatrix);
|
||||
if (!bounds.width || !bounds.height)
|
||||
if (!bounds.width || !bounds.height) {
|
||||
matrices.pop();
|
||||
return;
|
||||
}
|
||||
prevOffset = param.offset;
|
||||
itemOffset = param.offset = bounds.getTopLeft().floor();
|
||||
mainCtx = ctx;
|
||||
|
|
4
dist/paper-full.min.js
vendored
4
dist/paper-full.min.js
vendored
File diff suppressed because one or more lines are too long
36
package-lock.json
generated
36
package-lock.json
generated
|
@ -410,7 +410,6 @@
|
|||
"resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz",
|
||||
"integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"tweetnacl": "^0.14.3"
|
||||
}
|
||||
|
@ -1188,7 +1187,6 @@
|
|||
"resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
|
||||
"integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"jsbn": "~0.1.0",
|
||||
"safer-buffer": "^2.1.0"
|
||||
|
@ -1219,9 +1217,9 @@
|
|||
}
|
||||
},
|
||||
"semver": {
|
||||
"version": "5.5.1",
|
||||
"resolved": "https://registry.npmjs.org/semver/-/semver-5.5.1.tgz",
|
||||
"integrity": "sha512-PqpAxfrEhlSUWge8dwIp4tZnQ25DIOthpiaHNIthsjEFQD6EvqUKUDM7L8O2rShkFccYo1VjJR0coWfNkCubRw==",
|
||||
"version": "5.6.0",
|
||||
"resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz",
|
||||
"integrity": "sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
|
@ -2987,9 +2985,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"js-beautify": {
|
||||
"version": "1.8.6",
|
||||
"resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.8.6.tgz",
|
||||
"integrity": "sha512-TYDZa+lg8vEC5U0OmGQEEwiZ0XFBfvZAUeNOtqflLe+woKuIqF4JzlsBx/C1KVYW5lUewZy2ODL4Obq6sH7a4Q==",
|
||||
"version": "1.8.7",
|
||||
"resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.8.7.tgz",
|
||||
"integrity": "sha512-yhAMCTv0L9GNg6Gql7i+g4C1z9rQhfHXy4J0TGYFoBzzHR4reWYS573gkRrPuE58dYOH451LmBeAb8L1pLEfdA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"config-chain": "~1.1.5",
|
||||
|
@ -3002,8 +3000,7 @@
|
|||
"version": "0.1.1",
|
||||
"resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz",
|
||||
"integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
"dev": true
|
||||
},
|
||||
"jsdom": {
|
||||
"version": "9.12.0",
|
||||
|
@ -3825,9 +3822,9 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"semver": {
|
||||
"version": "5.5.1",
|
||||
"resolved": "https://registry.npmjs.org/semver/-/semver-5.5.1.tgz",
|
||||
"integrity": "sha512-PqpAxfrEhlSUWge8dwIp4tZnQ25DIOthpiaHNIthsjEFQD6EvqUKUDM7L8O2rShkFccYo1VjJR0coWfNkCubRw==",
|
||||
"version": "5.6.0",
|
||||
"resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz",
|
||||
"integrity": "sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
|
@ -4319,7 +4316,7 @@
|
|||
},
|
||||
"pretty-hrtime": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz",
|
||||
"resolved": "http://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz",
|
||||
"integrity": "sha1-t+PqQkNaTJsnWdmeDyAesZWALuE=",
|
||||
"dev": true
|
||||
},
|
||||
|
@ -4669,7 +4666,7 @@
|
|||
},
|
||||
"semver": {
|
||||
"version": "4.3.6",
|
||||
"resolved": "https://registry.npmjs.org/semver/-/semver-4.3.6.tgz",
|
||||
"resolved": "http://registry.npmjs.org/semver/-/semver-4.3.6.tgz",
|
||||
"integrity": "sha1-MAvG4OhjdPe6YQaLWx7NV/xlMto=",
|
||||
"dev": true
|
||||
},
|
||||
|
@ -4987,9 +4984,9 @@
|
|||
}
|
||||
},
|
||||
"sshpk": {
|
||||
"version": "1.14.2",
|
||||
"resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.14.2.tgz",
|
||||
"integrity": "sha1-xvxhZIo9nE52T9P8306hBeSSupg=",
|
||||
"version": "1.15.1",
|
||||
"resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.15.1.tgz",
|
||||
"integrity": "sha512-mSdgNUaidk+dRU5MhYtN9zebdzF2iG0cNPWy8HG+W8y+fT1JnSkh0fzzpjOa0L7P8i1Rscz38t0h4gPcKz43xA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"asn1": "~0.2.3",
|
||||
|
@ -5375,8 +5372,7 @@
|
|||
"version": "0.14.5",
|
||||
"resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",
|
||||
"integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
"dev": true
|
||||
},
|
||||
"type-check": {
|
||||
"version": "0.3.2",
|
||||
|
|
Loading…
Reference in a new issue