From b4a30664582ac69c05a0a3695b66110155cb6ee6 Mon Sep 17 00:00:00 2001 From: David Lougheed Date: Tue, 16 Jan 2024 18:10:04 -0500 Subject: [PATCH] chore(client): rm unneeded manhattan plot mouse binds --- client/src/components/ManhattanPlot.js | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/client/src/components/ManhattanPlot.js b/client/src/components/ManhattanPlot.js index 04930fb0..c53afa03 100644 --- a/client/src/components/ManhattanPlot.js +++ b/client/src/components/ManhattanPlot.js @@ -206,25 +206,6 @@ const ManhattanPlot = React.memo( ? getPointSizeFromDatum(u.data[s], hoveredItem.current) + STROKE_WIDTH + 1 : 0, }, - - bind: { - mousedown: (u, t, h) => e => { - console.info("Manhattan plot received mousedown event:", e); - h(e); - }, - mouseup: (u, t, h) => e => { - console.info("Manhattan plot received mouseup event:", e); - // if ( - // onPointClick && - // e.button === 0 && - // hoveredItem.current && - // Array.from(e.target.classList).includes("u-cursor-pt") && !u.cursor.drag._x - // ) { - // onPointClick(dataNoNulls[hoveredItem.current]); - // } - h(e); - }, - }, }, hooks: { drawClear: [u => {