오류 수정
This commit is contained in:
parent
a0c6631b0e
commit
5f3c9dc6fb
@ -121,6 +121,7 @@ export function useCanvas(id) {
|
||||
delete instance.points
|
||||
callback && callback(instance)
|
||||
}
|
||||
|
||||
const options = fabric.util.object.clone(object, true)
|
||||
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) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user