diff --git a/src/SEQTA.ts b/src/SEQTA.ts index 027e6d87..28c633fa 100644 --- a/src/SEQTA.ts +++ b/src/SEQTA.ts @@ -848,6 +848,8 @@ function handleTimetableZoom(): void { (time as HTMLElement).style.height = `${timeHeight}px`; }); } + + entries[Math.round((entries.length - 1) / 2)].scrollIntoView({ behavior: 'instant', block: 'center' }); }; zoomIn.addEventListener('click', () => {