From 5120e2efa6c06ad02fd1039c2a94b40782a2ebfc Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Mon, 2 Feb 2026 19:42:35 +0100 Subject: feat: timeline zoom anchoring --- apps/web/src/constants/timeline-constants.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/web/src/constants') 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 = { -- cgit v1.3.1