Skip to content

Commit 87d65ed

Browse files
fix: hover range on peaks line in spread mode
1 parent 3a924cd commit 87d65ed

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/component/1d/peaks/PeakAnnotationsSpreadMode.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ function PeakAnnotationsSpreadMode(props: PeakAnnotationsSpreadModeProps) {
138138
height={roundedBoxHeight}
139139
fill={isDragActive ? 'white' : 'transparent'}
140140
opacity={isDragActive ? 0.9 : 0}
141+
pointerEvents="none"
141142
/>
142143
<g ref={ref}>
143144
{mapPeaks.map((group) => {
@@ -242,6 +243,7 @@ function PeakAnnotation(props: PeakAnnotationProps) {
242243
stroke={color}
243244
fill="transparent"
244245
strokeWidth={highlight.isActive ? '3px' : '1px'}
246+
pointerEvents="none"
245247
/>
246248
</g>
247249
);

0 commit comments

Comments
 (0)