Skip to content

Commit

Permalink
#3894 add clipboard permissions config
Browse files Browse the repository at this point in the history
  • Loading branch information
StarlaStarla committed Mar 29, 2024
1 parent afcc95e commit d9b82b3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,8 @@ export class SequenceMode extends BaseMode {
const r1BondOfCurrentNode =
currentNode?.firstMonomerInNode?.attachmentPointsToBonds.R1;
const r2BondOfMonomerToAdd = monomerToAdd.attachmentPointsToBonds.R2;

// in case the currentNode has no R1 attachment point left for merging
if (
(!r1BondOfCurrentNode || deletedBond === r1BondOfCurrentNode) &&
!r2BondOfMonomerToAdd
Expand Down

0 comments on commit d9b82b3

Please sign in to comment.