diff --git a/web/src/components/timeline/MotionReviewTimeline.tsx b/web/src/components/timeline/MotionReviewTimeline.tsx index fd07b166b..7ef4b1d73 100644 --- a/web/src/components/timeline/MotionReviewTimeline.tsx +++ b/web/src/components/timeline/MotionReviewTimeline.tsx @@ -51,8 +51,8 @@ export function MotionReviewTimeline({ const timelineRef = useRef(null); const handlebarTimeRef = useRef(null); const timelineDuration = useMemo( - () => timelineStart - timelineEnd, - [timelineEnd, timelineStart], + () => timelineStart - timelineEnd + 4 * segmentDuration, + [timelineEnd, timelineStart, segmentDuration], ); const { alignStartDateToTimeline, alignEndDateToTimeline } = useEventUtils( @@ -61,8 +61,8 @@ export function MotionReviewTimeline({ ); const timelineStartAligned = useMemo( - () => alignStartDateToTimeline(timelineStart), - [timelineStart, alignStartDateToTimeline], + () => alignStartDateToTimeline(timelineStart) + 2 * segmentDuration, + [timelineStart, alignStartDateToTimeline, segmentDuration], ); const { handleMouseDown, handleMouseUp, handleMouseMove } = diff --git a/web/src/components/timeline/ReviewTimeline.tsx b/web/src/components/timeline/ReviewTimeline.tsx index 100903445..ccd77216e 100644 --- a/web/src/components/timeline/ReviewTimeline.tsx +++ b/web/src/components/timeline/ReviewTimeline.tsx @@ -48,7 +48,11 @@ export function ReviewTimeline({ isDragging && showHandlebar ? "cursor-grabbing" : "cursor-auto" }`} > -
{children}
+
+
+
+ {children} +
{showHandlebar && (