()
| 428 | }; |
| 429 | |
| 430 | const ensureLoop = () => { |
| 431 | if (!runningRef.current) { |
| 432 | runningRef.current = true; |
| 433 | rafRef.current = requestAnimationFrame(animate); |
| 434 | } |
| 435 | }; |
| 436 | |
| 437 | const onPointerMove = (e: PointerEvent) => { |
| 438 | const rect = parent.getBoundingClientRect(); |
no outgoing calls
no test coverage detected