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

Function border

graph-ui/tools/lib/readability.mjs:429–431  ·  view source on GitHub ↗
(axis)

Source from the content-addressed store, hash-verified

427 return { how: 'scrolling-background', detail: style.backgroundAttachment };
428 }
429 const border = (axis) => (axis === 'y'
430 ? Number.parseFloat(style.borderTopWidth) + Number.parseFloat(style.borderBottomWidth)
431 : Number.parseFloat(style.borderLeftWidth) + Number.parseFloat(style.borderRightWidth));
432 const bar = edge === 'top' || edge === 'bottom'
433 ? box.offsetWidth - box.clientWidth - border('x')
434 : box.offsetHeight - box.clientHeight - border('y');

Callers 1

showsMoreFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected