오류 수정
This commit is contained in:
parent
a0c6631b0e
commit
5f3c9dc6fb
@ -121,6 +121,7 @@ export function useCanvas(id) {
|
|||||||
delete instance.points
|
delete instance.points
|
||||||
callback && callback(instance)
|
callback && callback(instance)
|
||||||
}
|
}
|
||||||
|
|
||||||
const options = fabric.util.object.clone(object, true)
|
const options = fabric.util.object.clone(object, true)
|
||||||
options.points = [object.x1, object.y1, object.x2, object.y2]
|
options.points = [object.x1, object.y1, object.x2, object.y2]
|
||||||
|
|
||||||
@ -526,7 +527,7 @@ export function useCanvas(id) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
canvas.renderAll()
|
canvas?.renderAll()
|
||||||
}
|
}
|
||||||
|
|
||||||
const setCanvasBackgroundWithDots = (canvas, gap) => {
|
const setCanvasBackgroundWithDots = (canvas, gap) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user