MCPcopy Create free account
hub / github.com/SplootCode/splootcode / setRootNode

Method setRootNode

packages/editor/src/context/selection.ts:95–98  ·  view source on GitHub ↗
(rootNode: NodeBlock)

Source from the content-addressed store, hash-verified

93 }
94
95 setRootNode(rootNode: NodeBlock) {
96 this.rootNode = rootNode
97 this.updateRenderPositions()
98 }
99
100 updateRenderPositions() {
101 this.cursorMap = new CursorMap()

Callers

nothing calls this directly

Calls 1

updateRenderPositionsMethod · 0.95

Tested by

no test coverage detected