will i ever stop messing with scroll?
This commit is contained in:
parent
0cd0e62493
commit
b573117423
3 changed files with 36 additions and 38 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue