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

Function onLostPointerCapture

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

Source from the content-addressed store, hash-verified

1192 };
1193
1194 const onLostPointerCapture = (e: PointerEvent): void => {
1195 if (disposed) return;
1196 if (!hasHoverListeners() && !tapCandidate && suppressNextLostPointerCaptureId !== e.pointerId) return;
1197 if (suppressNextLostPointerCaptureId === e.pointerId) {
1198 suppressNextLostPointerCaptureId = null;
1199 return;
1200 }
1201 clearTapCandidateIfMatches(e);
1202 setHovered(null, e);
1203 };
1204
1205 const onPointerDown = (e: PointerEvent): void => {
1206 if (disposed) return;

Callers

nothing calls this directly

Calls 3

hasHoverListenersFunction · 0.85
setHoveredFunction · 0.70

Tested by

no test coverage detected