increase zoom of buttons + refactor

This commit is contained in:
Maze Winther
2026-02-02 19:14:37 +01:00
parent c3f0d640ef
commit e88a059222
3 changed files with 10 additions and 10 deletions
@@ -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 = {