mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-07 13:22:07 -05:00
Prebuilt module for commit aae62926e2
This commit is contained in:
parent
f24a4b4e19
commit
bdbdd65cda
5 changed files with 13 additions and 16 deletions
7
dist/docs/assets/js/paper.js
vendored
7
dist/docs/assets/js/paper.js
vendored
|
@ -9,7 +9,7 @@
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Date: Mon Mar 5 21:49:25 2018 +0100
|
* Date: Tue Mar 6 12:47:29 2018 +0100
|
||||||
*
|
*
|
||||||
***
|
***
|
||||||
*
|
*
|
||||||
|
@ -14384,9 +14384,8 @@ new function() {
|
||||||
raster.on('load', function() {
|
raster.on('load', function() {
|
||||||
var size = getSize(node);
|
var size = getSize(node);
|
||||||
this.setSize(size);
|
this.setSize(size);
|
||||||
var center = this._matrix._transformPoint(
|
var center = getPoint(node).add(size.divide(2));
|
||||||
getPoint(node).add(size.divide(2)));
|
this._matrix.append(new Matrix(1, 0, 0, 1, center.x, center.y));
|
||||||
this.translate(center);
|
|
||||||
});
|
});
|
||||||
return raster;
|
return raster;
|
||||||
},
|
},
|
||||||
|
|
7
dist/paper-core.js
vendored
7
dist/paper-core.js
vendored
|
@ -9,7 +9,7 @@
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Date: Mon Mar 5 21:49:25 2018 +0100
|
* Date: Tue Mar 6 12:47:29 2018 +0100
|
||||||
*
|
*
|
||||||
***
|
***
|
||||||
*
|
*
|
||||||
|
@ -14384,9 +14384,8 @@ new function() {
|
||||||
raster.on('load', function() {
|
raster.on('load', function() {
|
||||||
var size = getSize(node);
|
var size = getSize(node);
|
||||||
this.setSize(size);
|
this.setSize(size);
|
||||||
var center = this._matrix._transformPoint(
|
var center = getPoint(node).add(size.divide(2));
|
||||||
getPoint(node).add(size.divide(2)));
|
this._matrix.append(new Matrix(1, 0, 0, 1, center.x, center.y));
|
||||||
this.translate(center);
|
|
||||||
});
|
});
|
||||||
return raster;
|
return raster;
|
||||||
},
|
},
|
||||||
|
|
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
7
dist/paper-full.js
vendored
7
dist/paper-full.js
vendored
|
@ -9,7 +9,7 @@
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Date: Mon Mar 5 21:49:25 2018 +0100
|
* Date: Tue Mar 6 12:47:29 2018 +0100
|
||||||
*
|
*
|
||||||
***
|
***
|
||||||
*
|
*
|
||||||
|
@ -14384,9 +14384,8 @@ new function() {
|
||||||
raster.on('load', function() {
|
raster.on('load', function() {
|
||||||
var size = getSize(node);
|
var size = getSize(node);
|
||||||
this.setSize(size);
|
this.setSize(size);
|
||||||
var center = this._matrix._transformPoint(
|
var center = getPoint(node).add(size.divide(2));
|
||||||
getPoint(node).add(size.divide(2)));
|
this._matrix.append(new Matrix(1, 0, 0, 1, center.x, center.y));
|
||||||
this.translate(center);
|
|
||||||
});
|
});
|
||||||
return raster;
|
return raster;
|
||||||
},
|
},
|
||||||
|
|
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
Loading…
Reference in a new issue