Major new version #2

Merged
LeoVasanko merged 86 commits from vol002 into main 2025-08-26 05:58:24 +01:00
Showing only changes of commit c9f3104e8b - Show all commits

View File

@ -177,7 +177,7 @@ const selectedDateRange = computed(() => {
})
function updateVisibleWeeks(reason) {
const buffer = 10
const buffer = 4
const currentScrollTop = viewport.value?.scrollTop ?? scrollTop.value
const startIdx = Math.floor((currentScrollTop - buffer * rowHeight.value) / rowHeight.value)
const endIdx = Math.ceil(
@ -215,7 +215,7 @@ function updateVisibleWeeks(reason) {
lastScrollRange = { startVW, endVW }
}
function rebuildVisibleWeeks(reason) {
const buffer = 10
const buffer = 4
const currentScrollTop = viewport.value?.scrollTop ?? scrollTop.value
const startIdx = Math.floor((currentScrollTop - buffer * rowHeight.value) / rowHeight.value)
const endIdx = Math.ceil(