MCPcopy Create free account
hub / github.com/Noumena-Network/code / addLayoutDamageRect

Function addLayoutDamageRect

src/ink/layoutDamageRows.ts:37–42  ·  view source on GitHub ↗
(
  current: LayoutDamageRows | null,
  rect: Pick<Rectangle, 'y' | 'height'>,
)

Source from the content-addressed store, hash-verified

35}
36
37export function addLayoutDamageRect(
38 current: LayoutDamageRows | null,
39 rect: Pick<Rectangle, 'y' | 'height'>,
40): LayoutDamageRows | null {
41 return addLayoutDamageRows(current, rect.y, rect.height)
42}
43
44export function addLayoutTransitionDamage(
45 current: LayoutDamageRows | null,

Callers 3

renderNodeToOutputFunction · 0.85

Calls 1

addLayoutDamageRowsFunction · 0.85

Tested by

no test coverage detected