()
| 1433 | }); |
| 1434 | |
| 1435 | constructor() { |
| 1436 | afterRenderEffect(() => { |
| 1437 | const active = this.tree()?._pattern.inputs.activeItem(); |
| 1438 | if (active) { |
| 1439 | untracked(() => { |
| 1440 | active.element()?.scrollIntoView({block: 'nearest'}); |
| 1441 | }); |
| 1442 | } |
| 1443 | }); |
| 1444 | } |
| 1445 | |
| 1446 | flattenTreeNodes(nodes: TreeNode[]): TreeNode[] { |
| 1447 | return nodes.flatMap(node => { |
nothing calls this directly
no test coverage detected