Skip to content

Commit

Permalink
#2530 Tooltip for created Data S-Group not appears after hover on it (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
KonstantinEpam23 authored Apr 27, 2023
1 parent 9936d0a commit 10531ae
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,7 @@ class ReSGroup extends ReObject {
const sGroups = restruct.molecule.sgroups
const render = restruct.render
if (
FunctionalGroup.isContractedFunctionalGroup(
sgroup.id,
functionalGroups
) ||
SGroup.isContractedSGroup(sgroup.id, sGroups)
FunctionalGroup.isContractedFunctionalGroup(sgroup.id, functionalGroups)
) {
const { startX, startY, width, height } = this.getTextHighlightDimensions(
render.options.fontsz / 2,
Expand All @@ -192,8 +188,7 @@ class ReSGroup extends ReObject {
FunctionalGroup.isContractedFunctionalGroup(
sGroupItem.id,
functionalGroups
) ||
SGroup.isContractedSGroup(sGroupItem.id, sGroups)
)
) {
const { startX, startY, width, height } = this.getTextHighlightDimensions(
options.fontsz / 2,
Expand Down

0 comments on commit 10531ae

Please sign in to comment.