11
This commit is contained in:
@@ -22,6 +22,12 @@ fabric.Object.prototype.toObject = function () {
|
||||
arr.push(...v)
|
||||
}
|
||||
})
|
||||
if (this.fill?.source === null) {
|
||||
let image = new Image()
|
||||
image.crossOrigin = 'anonymous'
|
||||
image.src = this.info?.fill?.source
|
||||
this.fill.source = image
|
||||
}
|
||||
const object = this.toObject_(arr)
|
||||
if (object.info) {
|
||||
let lock = !!object.info.lock
|
||||
|
||||
Reference in New Issue
Block a user