diff options
| author | Maze Winther <mazewinther@gmail.com> | 2026-02-02 19:44:27 +0100 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2026-02-02 19:44:27 +0100 |
| commit | 9ca32e5e39d3a1a7eaf6086f9f0d14e10e03afbd (patch) | |
| tree | 6a02883d074e2bbe245e34eeb3ac592659ce4eec /apps/web/src/components/editor/timeline/index.tsx | |
| parent | 5120e2efa6c06ad02fd1039c2a94b40782a2ebfc (diff) | |
| download | opencut-9ca32e5e39d3a1a7eaf6086f9f0d14e10e03afbd.tar.gz | |
fix: click empty on track to move playhead
Diffstat (limited to 'apps/web/src/components/editor/timeline/index.tsx')
| -rw-r--r-- | apps/web/src/components/editor/timeline/index.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/web/src/components/editor/timeline/index.tsx b/apps/web/src/components/editor/timeline/index.tsx index 7e2b2b66..271bad9b 100644 --- a/apps/web/src/components/editor/timeline/index.tsx +++ b/apps/web/src/components/editor/timeline/index.tsx @@ -423,7 +423,11 @@ export function Timeline() { onResizeStateChange={handleResizeStateChange} onElementMouseDown={handleElementMouseDown} onElementClick={handleElementClick} - onTrackMouseDown={handleSelectionMouseDown} + onTrackMouseDown={(event) => { + handleSelectionMouseDown(event); + handleTracksMouseDown(event); + }} + onTrackClick={handleTracksClick} shouldIgnoreClick={shouldIgnoreClick} /> </div> |
