MCPcopy Index your code
hub / github.com/ChartGPU/ChartGPU / onPointerMove

Function onPointerMove

src/ChartGPU.ts:1169–1178  ·  view source on GitHub ↗
(e: PointerEvent)

Source from the content-addressed store, hash-verified

1167 };
1168
1169 const onPointerMove = (e: PointerEvent): void => {
1170 if (disposed) return;
1171 if (!hasHoverListeners()) return;
1172 const { match, isInGrid } = getNearestPointFromPointerEvent(e);
1173 if (!isInGrid) {
1174 setHovered(null, e);
1175 return;
1176 }
1177 setHovered(match, e);
1178 };
1179
1180 const onPointerLeave = (e: PointerEvent): void => {
1181 if (disposed) return;

Callers

nothing calls this directly

Calls 3

hasHoverListenersFunction · 0.85
setHoveredFunction · 0.70

Tested by

no test coverage detected