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