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

Function onVolumeTouchMove

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

Source from the content-addressed store, hash-verified

219 { passive: true },
220 );
221 const onVolumeTouchMove = (e: TouchEvent) => {
222 if (volumeScrubbing) {
223 const touch = e.touches[0];
224 if (touch) handleVolumeAt(touch.clientX);
225 }
226 };
227 const onVolumeTouchEnd = () => {
228 volumeScrubbing = false;
229 };

Callers

nothing calls this directly

Calls 1

handleVolumeAtFunction · 0.85

Tested by

no test coverage detected