()
| 403 | }; |
| 404 | |
| 405 | const ensureLoop = () => { |
| 406 | if (!runningRef.current) { |
| 407 | runningRef.current = true; |
| 408 | rafRef.current = requestAnimationFrame(animate); |
| 409 | } |
| 410 | }; |
| 411 | |
| 412 | const onPointerMove = e => { |
| 413 | const rect = parent.getBoundingClientRect(); |
no outgoing calls
no test coverage detected