Open source CapCut alternative.
TypeScript
fix(site): scrub from the timeline's side padding
David Le58b8d10fa170
diff --git a/site/src/cut/components/Timeline.tsx b/site/src/cut/components/Timeline.tsxindex 18b3a986..28443a20 100644--- a/site/src/cut/components/Timeline.tsx+++ b/site/src/cut/components/Timeline.tsx@@ -949,9 +949,13 @@ export function Timeline() {data-tl-scrollclassName="tl-scroll relative h-full overflow-auto overscroll-y-none">+ {/* The side padding paints as timeline surface, so it scrubs like it:+ a press in the left strip reads as a negative time and seek clamps+ it to 0. */}<divclassName="relative flex min-h-full min-w-full flex-col"style={{ width: contentW + PAD_SIDE * 2 }}+ onPointerDown={deselectIfSelf}><divref={innerRef}