diff options
| author | leimingsheng <leimingsheng@58.com> | 2025-07-21 19:22:27 +0800 |
|---|---|---|
| committer | leimingsheng <leimingsheng@58.com> | 2025-07-21 19:22:27 +0800 |
| commit | 768a1dbfbc629f3817cc872d02ca080ab7a091ec (patch) | |
| tree | 91bf8de367b877c08a5419e9d147ab316e3dce68 /apps/web/src/constants/timeline-constants.ts | |
| parent | d6724e2552d14140017b194e7020252bda73751a (diff) | |
| download | opencut-768a1dbfbc629f3817cc872d02ca080ab7a091ec.tar.gz | |
feat: init timeline zoom
Diffstat (limited to 'apps/web/src/constants/timeline-constants.ts')
| -rw-r--r-- | apps/web/src/constants/timeline-constants.ts | 4 |
1 files changed, 3 insertions, 1 deletions
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 |
