MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / onPointerUp

Function onPointerUp

ui/src/components/PageSidebarLayout.tsx:104–111  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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'

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected