mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 13:45:25 +03:00
Fix showing loading icon while continuing to scrub
This commit is contained in:
parent
a8376922f9
commit
47601df645
@ -222,7 +222,7 @@ export default function DynamicVideoPlayer({
|
|||||||
setPreviewController(previewController);
|
setPreviewController(previewController);
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
{isLoading && !noRecording && (
|
{!isScrubbing && isLoading && !noRecording && (
|
||||||
<ActivityIndicator className="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2" />
|
<ActivityIndicator className="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2" />
|
||||||
)}
|
)}
|
||||||
{!isScrubbing && noRecording && (
|
{!isScrubbing && noRecording && (
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user