Skip to content

Commit

Permalink
chore(client): debug logging for manhattan plot click
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Jan 16, 2024
1 parent 02ddb25 commit 4c19e55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/src/components/ManhattanPlot.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,9 @@ const ManhattanPlot = React.memo(

bind: {
mouseup: (u, t, h) => e => {
console.debug("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
Expand Down

0 comments on commit 4c19e55

Please sign in to comment.