MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / onPointerMove

Function onPointerMove

graph-ui/src/layout/Splitter.tsx:113–120  ·  view source on GitHub ↗
(event: ReactPointerEvent<HTMLDivElement>)

Source from the content-addressed store, hash-verified

111 };
112
113 const onPointerMove = (event: ReactPointerEvent<HTMLDivElement>): void => {
114 const state = drag.current;
115 if (state === null) {
116 return;
117 }
118 const now = props.orientation === 'vertical' ? event.clientX : event.clientY;
119 props.onChange(clamped(state.from + sign * (now - state.start)));
120 };
121
122 const onPointerUp = (event: ReactPointerEvent<HTMLDivElement>): void => {
123 drag.current = null;

Callers

nothing calls this directly

Calls 1

clampedFunction · 0.85

Tested by

no test coverage detected