mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-07 13:22:07 -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.
|
// that can be ommited.
|
||||||
_serializeFields: {
|
_serializeFields: {
|
||||||
name: null,
|
name: null,
|
||||||
|
applyMatrix: null,
|
||||||
matrix: new Matrix(),
|
matrix: new Matrix(),
|
||||||
pivot: null,
|
pivot: null,
|
||||||
locked: false,
|
locked: false,
|
||||||
|
@ -64,7 +65,6 @@ var Item = Base.extend(Callback, /** @lends Item# */{
|
||||||
guide: false,
|
guide: false,
|
||||||
selected: false,
|
selected: false,
|
||||||
clipMask: false,
|
clipMask: false,
|
||||||
applyMatrix: null,
|
|
||||||
data: {}
|
data: {}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue