(e: MouseEvent)
| 63 | } |
| 64 | |
| 65 | const handleMouseMove = (e: MouseEvent) => { |
| 66 | if (!isDragging()) return |
| 67 | |
| 68 | e.preventDefault() |
| 69 | const deltaX = e.clientX - dragStartX |
| 70 | const newWidth = Math.max(150, Math.min(800, dragStartWidth + deltaX)) |
| 71 | setLeftPanelWidth(newWidth) |
| 72 | } |
| 73 | |
| 74 | const handleMouseUp = () => { |
| 75 | setIsDragging(false) |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…