This commit is contained in:
Henry Jameson 2026-09-15 01:07:56 +03:00
commit 5d1f3c1cee
4 changed files with 7 additions and 4 deletions

View file

@ -187,7 +187,7 @@ export default {
// # Linear style stuff
const isLinearView = computed(() => displayStyle.value !== 'tree')
const linearElement = useTemplateRef('linear')
const linearScrollCompensation = computed(() => isLinearView.value)
const linearScrollCompensation = computed(() => isExpanded.value && isLinearView.value)
const {
heightChart: heightChartLinear,
changeSuspendState: changeSuspendStateLinear,
@ -233,7 +233,7 @@ export default {
const currentAncestorsLite = computed(() => currentAncestors.value.map(({ id }) => ({ id })))
const ancestorsElement = useTemplateRef('ancestors')
const treeScrollCompensation = computed(() => isTreeView.value)
const treeScrollCompensation = computed(() => isExpanded.value && isTreeView.value)
const {
heightChart: heightChartAncestors,
changeSuspendState: changeSuspendStateAncestors,