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

Function paint

graph-ui/src/galaxy/ScreenNodeSeparation.test.tsx:45–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43const render = () => act(() => root.render(<ScreenNodeSeparation nodes={nodes} active onChange={onChange} onBusyChange={onBusyChange} />));
44const frame = (elapsed = 0) => act(() => { now += elapsed; frames.callback?.(); });
45const paint = () => act(() => {
46 const pending = [...queued.values()]; queued.clear();
47 for (const callback of pending) callback(now);
48});
49const settle = () => { frame(); frame(120); paint(); paint(); };
50const initialLayout = () => {
51 scene.camera.position.set(0, 0, 500); scene.camera.lookAt(0, 0, 0); scene.camera.updateMatrixWorld();

Callers 2

settleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected