MCPcopy Create free account
hub / github.com/codeaashu/claude-code / commitCacheOutputs

Function commitCacheOutputs

src/native-ts/yoga-layout/index.ts:1022–1030  ·  view source on GitHub ↗
(node: Node, performLayout: boolean)

Source from the content-addressed store, hash-verified

1020// constrained viewport height from the layout pass. That's the scrollbox
1021// vpH=33→2624 bug: scrollTop clamps to 0, viewport goes blank.
1022function commitCacheOutputs(node: Node, performLayout: boolean): void {
1023 if (performLayout) {
1024 node._lOutW = node.layout.width
1025 node._lOutH = node.layout.height
1026 } else {
1027 node._mOutW = node.layout.width
1028 node._mOutH = node.layout.height
1029 }
1030}
1031
1032// --
1033// Core flexbox algorithm

Callers 1

layoutNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected