summaryrefslogtreecommitdiff
path: root/apps/web/src/constants
diff options
context:
space:
mode:
authorleimingsheng <leimingsheng@58.com>2025-07-21 19:22:27 +0800
committerleimingsheng <leimingsheng@58.com>2025-07-21 19:22:27 +0800
commit768a1dbfbc629f3817cc872d02ca080ab7a091ec (patch)
tree91bf8de367b877c08a5419e9d147ab316e3dce68 /apps/web/src/constants
parentd6724e2552d14140017b194e7020252bda73751a (diff)
downloadopencut-768a1dbfbc629f3817cc872d02ca080ab7a091ec.tar.gz
feat: init timeline zoom
Diffstat (limited to 'apps/web/src/constants')
-rw-r--r--apps/web/src/constants/timeline-constants.ts4
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