Logical OR not And for increased hover surface in condensed view

This commit is contained in:
tidy-dev 2024-02-27 13:55:30 -05:00
parent 5c44f39312
commit ad2cb1c70d

View file

@ -602,7 +602,7 @@ export class SideBySideDiffRow extends React.Component<
style={style}
>
<span className="focus-handle">
{!enableGroupDiffCheckmarks() && !this.props.showDiffCheckMarks && (
{(!enableGroupDiffCheckmarks() || !this.props.showDiffCheckMarks) && (
<div className="increased-hover-surface" style={{ height }} />
)}
{!onlyOneLine && this.getCheckAllOcticon(selectionState)}