Compare commits

..

No commits in common. "02e0a0f1b9cd1632c1666986fcaf1b7a9172a9c4" and "579db8be7b3c646132de67937b51bb99dc80c668" have entirely different histories.

2 changed files with 6 additions and 5 deletions

View file

@ -230,9 +230,9 @@ export default {
changeSuspendStateLinear(e)
const { id, suspend } = e
if (suspend) {
unsuspendableIds.value.delete(id)
} else {
unsuspendableIds.value.add(id)
} else {
unsuspendableIds.value.delete(id)
}
}
@ -266,6 +266,7 @@ export default {
changeSuspendState: changeSuspendStateAncestors,
updateVirtualHeight: updateVirtualHeightAncestors,
reset: resetTreeScrollVirtualization,
scrollTo: treeScrollTo,
} = useVirtualScrolling({
name: 'Ancestors',
enabled: treeScrollCompensation,
@ -314,7 +315,9 @@ export default {
// # Scrolling
const scrollTo = (ids) => {
if (isLinearView.value) {
if (isTreeView.value) {
return treeScrollTo(ids)
} else {
return linearScrollTo(ids)
}
}
@ -381,7 +384,6 @@ export default {
// # Scrolling
diveToTopLevel,
diveIntoStatus,
unsuspendableIds,
}
},
}

View file

@ -109,7 +109,6 @@
:data-status-id="element.id"
:data-vs-height="element.height"
:data-vs-top="element.top"
:data-vs-suspend="element.suspendable"
@goto="setFocused"
@dive="diveIntoStatus(element.id)"