forked from Github/frigate
Recording fixes (#11406)
* Fix infinite review items when record is disabled * Fix showing loading icon while continuing to scrub * Fix recording layout previews
This commit is contained in:
@@ -544,7 +544,7 @@ export function RecordingView({
|
||||
className={cn(
|
||||
"flex gap-2 overflow-auto",
|
||||
mainCameraAspect == "tall"
|
||||
? "h-full w-48 flex-col"
|
||||
? "h-full w-72 flex-col"
|
||||
: `h-28 w-full`,
|
||||
previewRowOverflows ? "" : "items-center justify-center",
|
||||
)}
|
||||
@@ -559,7 +559,7 @@ export function RecordingView({
|
||||
<div
|
||||
key={cam}
|
||||
className={
|
||||
mainCameraAspect == "tall" ? undefined : "h-full"
|
||||
mainCameraAspect == "tall" ? "w-full" : "h-full"
|
||||
}
|
||||
style={{
|
||||
aspectRatio: getCameraAspect(cam),
|
||||
|
||||
Reference in New Issue
Block a user