MCPcopy Create free account
hub / github.com/TheOrcDev/github-creature / onDocumentTouchMove

Method onDocumentTouchMove

components/liquid-ether.tsx:301–307  ·  view source on GitHub ↗
(event: TouchEvent)

Source from the content-addressed store, hash-verified

299 this.hasUserControl = true;
300 }
301 onDocumentTouchMove(event: TouchEvent) {
302 if (event.touches.length !== 1) return;
303 const t = event.touches[0];
304 if (!this.updateHoverState(t.clientX, t.clientY)) return;
305 if (this.onInteract) this.onInteract();
306 this.setCoords(t.clientX, t.clientY);
307 }
308 onTouchEnd() {
309 this.isHoverInside = false;
310 }

Callers

nothing calls this directly

Calls 2

updateHoverStateMethod · 0.95
setCoordsMethod · 0.95

Tested by

no test coverage detected