()
| 102 | } |
| 103 | |
| 104 | const onPointerUp = () => { |
| 105 | persistWidth(nextWidth) |
| 106 | document.body.style.cursor = '' |
| 107 | document.body.style.userSelect = '' |
| 108 | window.removeEventListener('pointermove', onPointerMove) |
| 109 | window.removeEventListener('pointerup', onPointerUp) |
| 110 | window.removeEventListener('pointercancel', onPointerUp) |
| 111 | } |
| 112 | |
| 113 | document.body.style.cursor = 'col-resize' |
| 114 | document.body.style.userSelect = 'none' |
nothing calls this directly
no outgoing calls
no test coverage detected