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

Function clearTapCandidateIfMatches

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

Source from the content-addressed store, hash-verified

1160 };
1161
1162 const clearTapCandidateIfMatches = (e: PointerEvent): void => {
1163 if (!tapCandidate) return;
1164 if (!e.isPrimary) return;
1165 if (e.pointerId !== tapCandidate.pointerId) return;
1166 tapCandidate = null;
1167 };
1168
1169 const onPointerMove = (e: PointerEvent): void => {
1170 if (disposed) return;

Callers 3

onPointerLeaveFunction · 0.70
onPointerCancelFunction · 0.70
onLostPointerCaptureFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected