diff --git a/src/history.ts b/src/history.ts index efc62588f61c6a3213cdd4a381825389f355e623..63e85bf4bc0dfa453778a4f66044ff4a82545119 100644 --- a/src/history.ts +++ b/src/history.ts @@ -27,6 +27,7 @@ class CreateAction implements OperationAction { undo() { if (this.state == State.CAN_UNDO) { + console.log(`undo`,this.object) this.canvas.remove(this.object); this.canvas.renderAll(); this.state = State.CAN_REDO;