mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-09 04:35:25 +03:00
fix preview scrubbing
This commit is contained in:
parent
ff919fd192
commit
5f00c5813b
@ -171,7 +171,7 @@ export default function PreviewThumbnailPlayer({
|
||||
{...swipeHandlers}
|
||||
>
|
||||
{playingBack && (
|
||||
<div className="absolute inset-0 animate-in fade-in pointer-events-none">
|
||||
<div className="absolute inset-0 animate-in fade-in">
|
||||
<PreviewContent
|
||||
review={review}
|
||||
relevantPreview={relevantPreview}
|
||||
@ -486,7 +486,7 @@ function VideoPreview({
|
||||
);
|
||||
|
||||
return (
|
||||
<div className="relative size-full aspect-video bg-black pointer-events-none">
|
||||
<div className="relative size-full aspect-video bg-black">
|
||||
<video
|
||||
ref={playerRef}
|
||||
className="size-full aspect-video bg-black pointer-events-none"
|
||||
@ -654,9 +654,9 @@ function InProgressPreview({
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="relative size-full flex items-center bg-black pointer-events-none">
|
||||
<div className="relative size-full flex items-center bg-black">
|
||||
<img
|
||||
className="size-full object-contain"
|
||||
className="size-full object-contain pointer-events-none"
|
||||
src={`${apiHost}api/preview/${previewFrames[key]}/thumbnail.webp`}
|
||||
onLoad={handleLoad}
|
||||
/>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user