()
| 1426 | }); |
| 1427 | |
| 1428 | constructor() { |
| 1429 | afterRenderEffect(() => { |
| 1430 | const active = this.tree()?._pattern.inputs.activeItem(); |
| 1431 | if (active) { |
| 1432 | untracked(() => { |
| 1433 | active.element()?.scrollIntoView({block: 'nearest'}); |
| 1434 | }); |
| 1435 | } |
| 1436 | }); |
| 1437 | } |
| 1438 | |
| 1439 | flattenTreeNodes(nodes: TreeNode[]): TreeNode[] { |
| 1440 | return nodes.flatMap(node => { |
nothing calls this directly
no test coverage detected