diff --git a/js/components/preview/molecule/moleculeView.js b/js/components/preview/molecule/moleculeView.js index a725a119d8..b777525994 100644 --- a/js/components/preview/molecule/moleculeView.js +++ b/js/components/preview/molecule/moleculeView.js @@ -50,6 +50,9 @@ const useStyles = makeStyles(theme => ({ backgroundColor: theme.palette.primary.main, color: theme.palette.primary.contrastText }, + contColButtonHalfSelected: { + backgroundColor: theme.palette.primary.semidark + }, detailsCol: { border: 'solid 1px', borderColor: theme.palette.background.divider, @@ -141,6 +144,7 @@ const MoleculeView = memo(({ imageHeight, imageWidth, data }) => { const isVectorOn = (currentID && vectorOnList.includes(currentID)) || false; const hasAllValuesOn = isLigandOn && isComplexOn && isVectorOn; + const hasSomeValuesOn = !hasAllValuesOn && (isLigandOn || isComplexOn || isVectorOn); const disableUserInteraction = useDisableUserInteraction(); @@ -339,9 +343,15 @@ const MoleculeView = memo(({ imageHeight, imageWidth, data }) => {