refactor: TimelineManager is owned by Timeline.svelte (#22839)

feat: TimelineManager is owned by Timeline.svelte
This commit is contained in:
Min Idzelis 2025-10-15 13:27:44 -04:00 committed by GitHub
parent f1e03d0022
commit b3055d2e94
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 71 additions and 88 deletions

View file

@ -100,8 +100,6 @@ export class TimelineManager {
#updatingIntersections = false;
#scrollableElement: HTMLElement | undefined = $state();
constructor() {}
setLayoutOptions({ headerHeight = 48, rowHeight = 235, gap = 12 }: TimelineManagerLayoutOptions) {
let changed = false;
changed ||= this.#setHeaderHeight(headerHeight);