Skip to content

Commit

Permalink
fixup! fix(files): virtual scroller item size computation
Browse files Browse the repository at this point in the history
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
  • Loading branch information
skjnldsv committed Nov 29, 2024
1 parent b4a4582 commit 8c05184
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apps/files/src/components/VirtualList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,6 @@ export default defineComponent({

// Max 0 to prevent negative index
this.index = Math.max(0, Math.floor(index))

console.debug('VirtualList: onScroll', index, this.index)
this.$emit('scroll')
})
},
Expand Down

0 comments on commit 8c05184

Please sign in to comment.