Prebuilt module for commit aae62926e2

This commit is contained in:
Paper.js Bot 2018-03-06 11:53:08 +00:00
parent f24a4b4e19
commit bdbdd65cda
5 changed files with 13 additions and 16 deletions

View file

@ -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
View file

@ -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;
}, },

File diff suppressed because one or more lines are too long

7
dist/paper-full.js vendored
View file

@ -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;
}, },

File diff suppressed because one or more lines are too long