MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / onTouchMove

Function onTouchMove

packages/player/src/controls.ts:316–321  ·  view source on GitHub ↗
(e: TouchEvent)

Source from the content-addressed store, hash-verified

314 { passive: true },
315 );
316 const onTouchMove = (e: TouchEvent) => {
317 if (scrubbing) {
318 const touch = e.touches[0];
319 if (touch) handleScrubAt(touch.clientX);
320 }
321 };
322 const onTouchEnd = () => {
323 scrubbing = false;
324 };

Callers

nothing calls this directly

Calls 1

handleScrubAtFunction · 0.85

Tested by

no test coverage detected