mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
feat: expand the node expanded to
This commit is contained in:
parent
0f6d13d2c4
commit
1208886efd
1 changed files with 3 additions and 0 deletions
|
|
@ -148,6 +148,9 @@ export default class VisibleNodesGenerator {
|
|||
}
|
||||
}
|
||||
const node = findNode(root)
|
||||
if (node) {
|
||||
this.setExpand(node, true)
|
||||
}
|
||||
this.focusNode(node)
|
||||
return node
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue