mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Have Path#_serializeFields inherit from Item#_serializeFields.
This commit is contained in:
parent
8c33e5be88
commit
2673991620
1 changed files with 2 additions and 2 deletions
|
@ -24,10 +24,10 @@
|
|||
// DOCS: Explain that path matrix is always applied with each transformation.
|
||||
var Path = this.Path = PathItem.extend(/** @lends Path# */{
|
||||
_type: 'path',
|
||||
_serializeFields: {
|
||||
_serializeFields: Base.merge(Item.prototype._serializeFields, {
|
||||
segments: [],
|
||||
closed: false
|
||||
},
|
||||
}),
|
||||
|
||||
/**
|
||||
* Creates a new Path item and places it at the top of the active layer.
|
||||
|
|
Loading…
Reference in a new issue