will i ever stop messing with scroll?

This commit is contained in:
Henry Jameson 2026-09-11 19:08:27 +03:00
commit b573117423
3 changed files with 36 additions and 38 deletions

View file

@ -235,6 +235,7 @@ export default {
? mutedStatusHeight
: normalStatusHeight
const anchorIds = computed(() => new Set([mainStatus.value?.id, currentStatus.value?.id]))
// # Linear style stuff
const isLinearView = computed(() => displayStyle.value !== 'tree')
const linearElement = useTemplateRef('linear')
@ -248,6 +249,7 @@ export default {
body: linearElement,
scrollPositionInstance: scroller,
scrollCompensation: linearScrollCompensation,
anchorIds,
getPlaceholderHeight,
})
const changeSuspendStateLinearLocal = (e) => {