(e: MouseEvent)
| 53 | let dragStartWidth = 0 |
| 54 | |
| 55 | const handleMouseDown = (e: MouseEvent) => { |
| 56 | e.preventDefault() |
| 57 | e.stopPropagation() |
| 58 | setIsDragging(true) |
| 59 | document.body.style.cursor = 'col-resize' |
| 60 | document.body.style.userSelect = 'none' |
| 61 | dragStartX = e.clientX |
| 62 | dragStartWidth = leftPanelWidth() |
| 63 | } |
| 64 | |
| 65 | const handleMouseMove = (e: MouseEvent) => { |
| 66 | if (!isDragging()) return |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…