Skip to content

Commit ef2878c

Browse files
committed
handle binarySelection when annotation have different colors (not just red)
1 parent cd1c422 commit ef2878c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/CellControls.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export default function CellControls(props: CellControlsProps) {
5555

5656
const selectedIds = new Set<number>();
5757
for (let i = 0; i < numPoints && i < attributes.length; i++) {
58-
if (attributes[i] === 16711680) {
58+
if (attributes[i] != 4210752) {
5959
const pointId = props.trackManager.annotTime * props.trackManager.maxPointsPerTimepoint + i;
6060
selectedIds.add(pointId);
6161
}

0 commit comments

Comments
 (0)