diff --git a/packages/ketcher-core/src/application/render/restruct/reatom.ts b/packages/ketcher-core/src/application/render/restruct/reatom.ts index 94314dad51..04c6b3162b 100644 --- a/packages/ketcher-core/src/application/render/restruct/reatom.ts +++ b/packages/ketcher-core/src/application/render/restruct/reatom.ts @@ -645,6 +645,8 @@ function shouldDisplayStereoLabel( } function isLabelVisible(restruct, options, atom) { + const isAttachmentPointAtom = atom.a.attpnt != null + const isCarbon = atom.a.label.toLowerCase() === 'c' const visibleTerminal = options.showHydrogenLabels !== ShowHydrogenLabels.Off && options.showHydrogenLabels !== ShowHydrogenLabels.Hetero @@ -653,6 +655,10 @@ function isLabelVisible(restruct, options, atom) { atom.a.neighbors.length === 0 || (atom.a.neighbors.length < 2 && visibleTerminal) + if (isAttachmentPointAtom && atom.a.neighbors.length > 0 && isCarbon) { + return false + } + const shouldBeVisible = neighborsLength || options.carbonExplicitly ||