mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-05 19:24:39 +00:00
patch timetable not being centred upon zoom
This commit is contained in:
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user