(e: MouseEvent)
| 39 | const isVertical = direction === "vertical"; |
| 40 | |
| 41 | const onMouseMove = (e: MouseEvent) => { |
| 42 | if (!dragging.current) return; |
| 43 | const pos = isVertical ? e.clientX : e.clientY; |
| 44 | const delta = pos - lastPos.current; |
| 45 | if (delta !== 0) { |
| 46 | lastPos.current = pos; |
| 47 | scheduledResize(delta); |
| 48 | } |
| 49 | }; |
| 50 | |
| 51 | const onMouseUp = () => { |
| 52 | if (!dragging.current) return; |
nothing calls this directly
no outgoing calls
no test coverage detected