중복 제거

This commit is contained in:
hyojun.choi 2024-07-01 17:14:00 +09:00
parent c8eb5d8c61
commit 8f08393014

View File

@ -44,12 +44,6 @@ export default class QPolygon extends fabric.Polygon {
this.on('moving', () => { this.on('moving', () => {
this.#addLengthText() this.#addLengthText()
}) })
this.on('removed', (e) => {
this.#text.forEach((text) => {
this.canvas.remove(text)
})
})
} }
#addLengthText() { #addLengthText() {