변수명 수정

This commit is contained in:
hyojun.choi 2024-07-10 11:33:51 +09:00
parent 7218f7f9ea
commit c44fa88ed8

View File

@ -15,7 +15,7 @@ export default class QPolygon extends fabric.Group {
canvas
fontSize
qCells = []
outerPolygon
roof
name
constructor(points, options, canvas) {
if (!options.fontSize) {
@ -333,7 +333,7 @@ export default class QPolygon extends fabric.Group {
offsetPoints.push(offsetPoint)
}
const outPolygon = new QPolygon(
const roof = new QPolygon(
offsetPoints,
{
stroke: 'black',
@ -344,7 +344,7 @@ export default class QPolygon extends fabric.Group {
this.canvas,
)
this.outerPolygon = outPolygon
this.roof = roof
this.addWithUpdate(outPolygon)
this.canvas.renderAll()