diff options
| author | Maze Winther <mazewinther@gmail.com> | 2026-02-02 19:42:35 +0100 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2026-02-02 19:42:35 +0100 |
| commit | 5120e2efa6c06ad02fd1039c2a94b40782a2ebfc (patch) | |
| tree | c62a8b5b75389aa8ac88365ea0facfb382b6d5cd /apps/web/src/constants/timeline-constants.tsx | |
| parent | 1aec9c5cf5112fb3def79bec291540ff5c78e057 (diff) | |
| download | opencut-5120e2efa6c06ad02fd1039c2a94b40782a2ebfc.tar.gz | |
feat: timeline zoom anchoring
Diffstat (limited to 'apps/web/src/constants/timeline-constants.tsx')
| -rw-r--r-- | apps/web/src/constants/timeline-constants.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/web/src/constants/timeline-constants.tsx b/apps/web/src/constants/timeline-constants.tsx index e467de41..d6af3c3a 100644 --- a/apps/web/src/constants/timeline-constants.tsx +++ b/apps/web/src/constants/timeline-constants.tsx @@ -39,6 +39,7 @@ export const TIMELINE_CONSTANTS = { ZOOM_MIN: 0.1, ZOOM_MAX: 100, ZOOM_BUTTON_FACTOR: 1.7, + ZOOM_ANCHOR_PLAYHEAD_THRESHOLD: 0.15, } as const; export const DEFAULT_TIMELINE_VIEW_STATE: TTimelineViewState = { |
