feat: timeline zoom anchoring

This commit is contained in:
Maze Winther
2026-02-02 19:42:35 +01:00
parent 1aec9c5cf5
commit 5120e2efa6
2 changed files with 40 additions and 9 deletions
@@ -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 = {