fix: delete control placeholder boundary error #553

This commit is contained in:
Hufe921
2024-05-10 22:45:19 +08:00
parent c86e5468e6
commit 73e47f56b5
+1 -1
View File
@@ -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++
} }