Skip to content

Commit

Permalink
fix roi select not working on linked plots
Browse files Browse the repository at this point in the history
  • Loading branch information
ReiHashimoto committed Apr 11, 2024
1 parent f717df8 commit 8b44bd4
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,6 @@ const ImagePlotChart = memo(function ImagePlotChart({
}

const onChartClick = (event: PlotMouseEvent) => {
if (![MERGE_ROI, DELETE_ROI].includes(action)) return
// use as unknown because original PlotDatum does not have z property
const point: PlotDatum = event.points[0] as unknown as PlotDatum
if (point.curveNumber >= 1 && outputKey === "cell_roi") {
Expand Down

0 comments on commit 8b44bd4

Please sign in to comment.