diff --git a/src/editor/core/draw/control/Control.ts b/src/editor/core/draw/control/Control.ts index a649236..40d9150 100644 --- a/src/editor/core/draw/control/Control.ts +++ b/src/editor/core/draw/control/Control.ts @@ -432,7 +432,7 @@ export class Control { this.draw.getHistoryManager().popUndo() this.draw.submitHistory(startIndex) } - this.draw.spliceElementList(elementList, index, 1) + elementList.splice(index, 1) } else { index++ }