중복 제거
This commit is contained in:
parent
c8eb5d8c61
commit
8f08393014
@ -44,12 +44,6 @@ export default class QPolygon extends fabric.Polygon {
|
||||
this.on('moving', () => {
|
||||
this.#addLengthText()
|
||||
})
|
||||
|
||||
this.on('removed', (e) => {
|
||||
this.#text.forEach((text) => {
|
||||
this.canvas.remove(text)
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
#addLengthText() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user