mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Simplify fix for #1452
This commit is contained in:
parent
aae62926e2
commit
a61e83edf2
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ new function() {
|
|||
// into account, which will be defined by the time the load
|
||||
// event is called.
|
||||
var center = getPoint(node).add(size.divide(2));
|
||||
this._matrix.append(new Matrix(1, 0, 0, 1, center.x, center.y));
|
||||
this._matrix.append(new Matrix().translate(center));
|
||||
});
|
||||
return raster;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue