Use pre buffer for other links (#11160)

This commit is contained in:
Nicolas Mowen
2024-04-29 13:20:50 -06:00
committed by GitHub
parent c9246bd4ab
commit f946cf55be
2 changed files with 4 additions and 3 deletions

View File

@@ -15,6 +15,7 @@ import { FrigateConfig } from "@/types/frigateConfig";
import { Preview } from "@/types/preview";
import {
MotionData,
REVIEW_PADDING,
ReviewFilter,
ReviewSegment,
ReviewSummary,
@@ -558,7 +559,7 @@ function Timeline({
currentTime={currentTime}
onClick={() => {
setScrubbing(true);
setCurrentTime(review.start_time);
setCurrentTime(review.start_time - REVIEW_PADDING);
setScrubbing(false);
}}
/>