From 768a1dbfbc629f3817cc872d02ca080ab7a091ec Mon Sep 17 00:00:00 2001 From: leimingsheng Date: Mon, 21 Jul 2025 19:22:27 +0800 Subject: feat: init timeline zoom --- apps/web/src/constants/timeline-constants.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/web/src/constants/timeline-constants.ts') diff --git a/apps/web/src/constants/timeline-constants.ts b/apps/web/src/constants/timeline-constants.ts index 8c76a2e8..b0ace148 100644 --- a/apps/web/src/constants/timeline-constants.ts +++ b/apps/web/src/constants/timeline-constants.ts @@ -75,7 +75,9 @@ export const TIMELINE_CONSTANTS = { TRACK_HEIGHT: 60, // Default fallback DEFAULT_TEXT_DURATION: 5, DEFAULT_IMAGE_DURATION: 5, - ZOOM_LEVELS: [0.25, 0.5, 1, 1.5, 2, 3, 4], + ZOOM_LEVELS: [0.5, 1, 1.5, 2, 3, 4, 5], + MIN_ZOOM: 0.5, + MAX_ZOOM: 5, } as const; // FPS presets for project settings -- cgit v1.3.1