Prebuilt module for commit 7dad1a495d

This commit is contained in:
Paper.js Bot 2019-11-09 17:21:34 +00:00
parent 4726d30884
commit c256323d2b
7 changed files with 19 additions and 19 deletions

View file

@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Thu Nov 7 12:12:14 2019 +0100
* Date: Sat Nov 9 12:17:26 2019 -0500
*
***
*
@ -4840,7 +4840,7 @@ var Shape = Item.extend({
width = size.width,
height = size.height;
if (type === 'rectangle') {
this._radius.set(Size.min(this._radius, size.divide(2)));
this._radius.set(Size.min(this._radius, size.divide(2).abs()));
} else if (type === 'circle') {
width = height = (width + height) / 2;
this._radius = width / 2;

4
dist/paper-core.js vendored
View file

@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Thu Nov 7 12:12:14 2019 +0100
* Date: Sat Nov 9 12:17:26 2019 -0500
*
***
*
@ -4837,7 +4837,7 @@ var Shape = Item.extend({
width = size.width,
height = size.height;
if (type === 'rectangle') {
this._radius.set(Size.min(this._radius, size.divide(2)));
this._radius.set(Size.min(this._radius, size.divide(2).abs()));
} else if (type === 'circle') {
width = height = (width + height) / 2;
this._radius = width / 2;

File diff suppressed because one or more lines are too long

4
dist/paper-full.js vendored
View file

@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Thu Nov 7 12:12:14 2019 +0100
* Date: Sat Nov 9 12:17:26 2019 -0500
*
***
*
@ -4840,7 +4840,7 @@ var Shape = Item.extend({
width = size.width,
height = size.height;
if (type === 'rectangle') {
this._radius.set(Size.min(this._radius, size.divide(2)));
this._radius.set(Size.min(this._radius, size.divide(2).abs()));
} else if (type === 'circle') {
width = height = (width + height) / 2;
this._radius = width / 2;

File diff suppressed because one or more lines are too long

2
dist/paper.d.ts vendored
View file

@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Thu Nov 7 12:12:14 2019 +0100
* Date: Sat Nov 9 12:17:26 2019 -0500
*
* This is an auto-generated type definition.
*/

6
package-lock.json generated
View file

@ -79,9 +79,9 @@
"dev": true
},
"@types/node": {
"version": "12.12.6",
"resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.6.tgz",
"integrity": "sha512-FjsYUPzEJdGXjwKqSpE0/9QEh6kzhTAeObA54rn6j3rR4C/mzpI9L0KNfoeASSPMMdxIsoJuCLDWcM/rVjIsSA==",
"version": "12.12.7",
"resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.7.tgz",
"integrity": "sha512-E6Zn0rffhgd130zbCbAr/JdXfXkoOUFAKNs/rF8qnafSJ8KYaA/j3oz7dcwal+lYjLA7xvdd5J4wdYpCTlP8+w==",
"dev": true
},
"@types/normalize-package-data": {