mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 06:00:56 -05:00
Help JS minification.
This commit is contained in:
parent
4cdc572824
commit
13b5e6ce22
1 changed files with 2 additions and 1 deletions
|
@ -1130,7 +1130,8 @@ var Item = Base.extend(Emitter, /** @lends Item# */{
|
|||
|
||||
setMatrix: function() {
|
||||
// Use Matrix#initialize to easily copy over values.
|
||||
this._matrix.initialize.apply(this._matrix, arguments);
|
||||
var matrix = this._matrix;
|
||||
matrix.initialize.apply(matrix, arguments);
|
||||
if (this._applyMatrix) {
|
||||
// Directly apply the internal matrix. This will also call
|
||||
// _changed() for us.
|
||||
|
|
Loading…
Reference in a new issue