fix: delete control placeholder boundary error #553

pr675
Hufe921 2 years ago
parent c86e5468e6
commit 73e47f56b5

@ -432,7 +432,7 @@ export class Control {
this.draw.getHistoryManager().popUndo() this.draw.getHistoryManager().popUndo()
this.draw.submitHistory(startIndex) this.draw.submitHistory(startIndex)
} }
this.draw.spliceElementList(elementList, index, 1) elementList.splice(index, 1)
} else { } else {
index++ index++
} }

Loading…
Cancel
Save