mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Serialize #applyMatrix before #matrix, because in deserialization its setting will affect how #matrix is read.
Closes #451.
This commit is contained in:
parent
59d0402bf0
commit
61c2b11938
1 changed files with 1 additions and 1 deletions
|
@ -55,6 +55,7 @@ var Item = Base.extend(Callback, /** @lends Item# */{
|
|||
// that can be ommited.
|
||||
_serializeFields: {
|
||||
name: null,
|
||||
applyMatrix: null,
|
||||
matrix: new Matrix(),
|
||||
pivot: null,
|
||||
locked: false,
|
||||
|
@ -64,7 +65,6 @@ var Item = Base.extend(Callback, /** @lends Item# */{
|
|||
guide: false,
|
||||
selected: false,
|
||||
clipMask: false,
|
||||
applyMatrix: null,
|
||||
data: {}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue