MCPcopy Create free account
hub / github.com/wavetermdev/waveterm / callback

Method callback

frontend/layout/lib/layoutModel.ts:740–749  ·  view source on GitHub ↗
(node: LayoutNode)

Source from the content-addressed store, hash-verified

738 const magnifiedNodeSize = this.getter(this.magnifiedNodeSizeAtom);
739
740 const callback = (node: LayoutNode) =>
741 this.updateTreeHelper(
742 node,
743 newAdditionalProps,
744 newLeafs,
745 resizeHandleSizePx,
746 magnifiedNodeSize,
747 boundingRect,
748 resizeAction
749 );
750 if (balanceTree) this.treeState.rootNode = balanceNode(this.treeState.rootNode, callback);
751 else walkNodes(this.treeState.rootNode, callback);
752

Callers

nothing calls this directly

Calls 1

updateTreeHelperMethod · 0.95

Tested by

no test coverage detected