From d720a8fa0082e7709ffd3fc12e5fb0a73e7674ad Mon Sep 17 00:00:00 2001 From: konstantin-paulus Date: Mon, 24 Aug 2026 10:57:37 +0200 Subject: [PATCH] Add timeline system integration in resize handler - Integrated the `timelineSystem` function into the resize handler of the timeline controller, ensuring that timeline updates are processed during window resizing events. - This enhancement improves the responsiveness of the timeline component, maintaining accurate visual representation as the viewport changes. --- apps/web/src/engine/timeline/controller.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/web/src/engine/timeline/controller.ts b/apps/web/src/engine/timeline/controller.ts index 386f1ee..6c1a493 100644 --- a/apps/web/src/engine/timeline/controller.ts +++ b/apps/web/src/engine/timeline/controller.ts @@ -12,6 +12,7 @@ import { assert, clamp } from '@/utils'; import { createPointer } from './pointer'; import { TimelineSurface } from './surface'; +import { timelineSystem } from './timeline'; import { getResolution, getScrollX, @@ -82,6 +83,7 @@ export function createTimelineController(world: World) { const resize = (): void => { applyResize(); withScene((scene) => updateTimelineTransform(world, scene)); + timelineSystem(world); }; const observer = new ResizeObserver(resize);