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:
Nicolas Mowen
2024-05-17 07:26:42 -06:00
committed by GitHub
parent ba03d3b3e4
commit 07eef9b139
4 changed files with 42 additions and 31 deletions

View File

@@ -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),