Skip to content

Commit

Permalink
#2963 - Fix ghosting and multiple undo/redo after pasting
Browse files Browse the repository at this point in the history
  • Loading branch information
nanoblit committed Aug 7, 2023
1 parent 50bd183 commit 52f1e4e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/ketcher-react/src/script/editor/tool/paste.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,7 @@ class PasteTool implements Tool {
const action = this.action;
delete this.action;
if (!this.isSingleContractedGroup || !this.mergeItems) {
this.editor.update(
dropAndMerge(this.editor, this.mergeItems, action, true),
);
dropAndMerge(this.editor, this.mergeItems, action, true);
}
}
}
Expand Down

0 comments on commit 52f1e4e

Please sign in to comment.