From fe5fdff35a0dc9636d13a60359945631dabaf122 Mon Sep 17 00:00:00 2001 From: webadderall <131426131+webadderall@users.noreply.github.com> Date: Mon, 27 Apr 2026 16:24:35 +1000 Subject: [PATCH] fix(timeline): cap viewport to two rows --- src/components/video-editor/VideoEditor.tsx | 6 ++++-- src/components/video-editor/timeline/TimelineEditor.tsx | 2 +- .../video-editor/timeline/timelineLayout.test.ts | 9 +++++++++ src/components/video-editor/timeline/timelineLayout.ts | 5 +++++ 4 files changed, 19 insertions(+), 3 deletions(-) diff --git a/src/components/video-editor/VideoEditor.tsx b/src/components/video-editor/VideoEditor.tsx index 580627ac..e95372c2 100644 --- a/src/components/video-editor/VideoEditor.tsx +++ b/src/components/video-editor/VideoEditor.tsx @@ -124,6 +124,7 @@ import { RECORDLY_ISSUES_URL, } from "./TutorialHelp"; import TimelineEditor, { type TimelineEditorHandle } from "./timeline/TimelineEditor"; +import { TIMELINE_VIEWPORT_MIN_HEIGHT_PX } from "./timeline/timelineLayout"; import { normalizeCursorTelemetry } from "./timeline/zoomSuggestionUtils"; import { type AnnotationRegion, @@ -5698,8 +5699,9 @@ export default function VideoEditor() {