update: svelte, kit, tailwindcss, vite

This commit is contained in:
Xylight committed 2025-11-17 22:18:13 -08:00
1 parent 5b0caf62a2
commit 91f4171837
3 files changed
+79 -63

No files matched your search

+4 -4
View File
@@ -175,12 +175,12 @@
let oldScroll = $state(0)
$effect(() => {
const currentScrollY = scrollY ?? 0
if (Math.abs(currentScrollY - oldScroll) > estimatedHeight) {
untrack(() => {
untrack(() => {
if (Math.abs(currentScrollY - oldScroll) > estimatedHeight) {
visibleItems = updateVisibleItems()
oldScroll = currentScrollY
})
}
}
})
})
onMount(() => {