지붕덮개 이동후 배치면 할당 안되는 현상 수정

This commit is contained in:
Jaeyoung Lee 2025-02-03 18:07:08 +09:00
parent 6b5d86cd2c
commit 6eb6b54ebc

View File

@ -154,6 +154,7 @@ export const QPolygon = fabric.util.createClass(fabric.Polygon, {
const { left, top } = this.calcOriginCoords() const { left, top } = this.calcOriginCoords()
this.set('pathOffset', { x: left, y: top }) this.set('pathOffset', { x: left, y: top })
this.setCoords() this.setCoords()
this.initLines()
}) })
// polygon.fillCell({ width: 50, height: 30, padding: 10 }) // polygon.fillCell({ width: 50, height: 30, padding: 10 })