MCPcopy Create free account
hub / github.com/Gan-Xing/CodexBridge / handlePointerMove

Function handlePointerMove

apps/web/components/workspace-shell.tsx:25–32  ·  view source on GitHub ↗
(event: PointerEvent | globalThis.PointerEvent)

Source from the content-addressed store, hash-verified

23
24 useEffect(() => {
25 function handlePointerMove(event: PointerEvent | globalThis.PointerEvent) {
26 const origin = resizeOriginRef.current;
27 if (!origin) {
28 return;
29 }
30 const delta = event.clientX - origin.startX;
31 onSidebarWidthChange(origin.startWidth + delta);
32 }
33
34 function handlePointerUp(event: globalThis.PointerEvent) {
35 const origin = resizeOriginRef.current;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected