Skip to content

Commit

Permalink
Further improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenthoms committed Jan 10, 2024
1 parent 5cfc372 commit 7e8dcc8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export const InputChannelNode: React.FC<InputChannelNodeProps> = (props) => {

function handlePointerMove(e: PointerEvent) {
const boundingRect = ref.current?.getBoundingClientRect();
if (boundingRect && rectContainsPoint(boundingRect, pointerEventToPoint(e))) {
if (!localHovered && boundingRect && rectContainsPoint(boundingRect, pointerEventToPoint(e))) {
setHovered(true);
localHovered = true;
return;
Expand Down

0 comments on commit 7e8dcc8

Please sign in to comment.