Skip to content

Commit

Permalink
chore(client): rm unneeded manhattan plot mouse binds
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Jan 17, 2024
1 parent ab7ba22 commit b4a3066
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions client/src/components/ManhattanPlot.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit b4a3066

Please sign in to comment.