변수명 수정
This commit is contained in:
parent
7218f7f9ea
commit
c44fa88ed8
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user