mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Fix error in #getGlobalMatrix()
This commit is contained in:
parent
b7943239eb
commit
642111a7a2
1 changed files with 1 additions and 1 deletions
|
@ -1100,7 +1100,7 @@ var Item = Base.extend(Callback, /** @lends Item# */{
|
|||
if (matrix && matrix._updateVersion !== updateVersion)
|
||||
matrix = null;
|
||||
if (!matrix) {
|
||||
matrix = this._globalMatrix = item._matrix.clone();
|
||||
matrix = this._globalMatrix = this._matrix.clone();
|
||||
if (this._parent)
|
||||
matrix.concatenate(this._parent.getGlobalMatrix());
|
||||
matrix._updateVersion = updateVersion;
|
||||
|
|
Loading…
Reference in a new issue