chore: generate
This commit is contained in:
parent
fff0ec294c
commit
dbbe67f066
5 changed files with 10 additions and 58 deletions
|
|
@ -180,10 +180,7 @@ const startRoute: TuiRouteCurrent = { name: "session", params: { sessionID: "ses
|
|||
|
||||
function findScrollBox(root: Renderable): ScrollBoxRenderable | undefined {
|
||||
if (root instanceof ScrollBoxRenderable && containsDiff(root)) return root
|
||||
return root
|
||||
.getChildren()
|
||||
.map(findScrollBox)
|
||||
.find(Boolean)
|
||||
return root.getChildren().map(findScrollBox).find(Boolean)
|
||||
}
|
||||
|
||||
function containsDiff(root: Renderable): boolean {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue