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

Function moved

graph-ui/src/ui/tooltip/tooltip-model.ts:236–237  ·  view source on GitHub ↗
(candidate: HintRect)

Source from the content-addressed store, hash-verified

234 tries.push({ ...box, x: rect.x + rect.width + 1 });
235 }
236 const moved = (candidate: HintRect): number =>
237 Math.abs(candidate.x - box.x) + Math.abs(candidate.y - box.y);
238 const free = tries.filter((candidate) => inside(candidate) && covers(candidate) === 0);
239 if (free.length === 0) {
240 return null;

Callers 1

slideClearFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected