diff options
| author | Maze Winther <mazewinther@gmail.com> | 2026-02-02 19:14:37 +0100 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2026-02-02 19:14:37 +0100 |
| commit | e88a059222470d6b5e40baf1d81a314940a98955 (patch) | |
| tree | 75ea5d3aaded536377a14ef517104787254d4dbe /apps/web/src/constants | |
| parent | c3f0d640ef366fe4d94ff995ee8fe5ef282b9c1e (diff) | |
| download | opencut-e88a059222470d6b5e40baf1d81a314940a98955.tar.gz | |
increase zoom of buttons + refactor
Diffstat (limited to 'apps/web/src/constants')
| -rw-r--r-- | apps/web/src/constants/timeline-constants.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/web/src/constants/timeline-constants.tsx b/apps/web/src/constants/timeline-constants.tsx index 692ccd65..e467de41 100644 --- a/apps/web/src/constants/timeline-constants.tsx +++ b/apps/web/src/constants/timeline-constants.tsx @@ -35,12 +35,10 @@ export const TRACK_GAP = 4; export const TIMELINE_CONSTANTS = { PIXELS_PER_SECOND: 50, DEFAULT_ELEMENT_DURATION: 5, - PLAYHEAD_LOOKAHEAD_SECONDS: 30, // padding ahead PADDING_TOP_PX: 0, - ZOOM_LEVELS: [0.1, 0.25, 0.5, 1, 1.5, 2, 3, 4, 6, 8, 10, 15, 20, 30, 50], ZOOM_MIN: 0.1, ZOOM_MAX: 100, - ZOOM_STEP: 0.1, + ZOOM_BUTTON_FACTOR: 1.7, } as const; export const DEFAULT_TIMELINE_VIEW_STATE: TTimelineViewState = { |
