playbacks ok web

This commit is contained in:
2025-10-23 14:34:37 +02:00
parent efa6c07cef
commit d1be65cb3f
3 changed files with 49 additions and 22 deletions
+3 -1
View File
@@ -26,6 +26,7 @@ import CreateLyricsHeader from "../Writing/components/CreateLyricsHeader";
const TIME_BEFORE_INCREMENT_MS = 20000;
const LOG_PREFIX = "[RecordPlayback.web]";
const WEB_PREVIEW_WIDTH = 360;
const toSeconds = (v) => {
const n = Number(v ?? 0);
@@ -709,7 +710,8 @@ const RecordPlayback = ({ route }) => {
<View
style={{
width: isWeb ? 420 : "100%",
width: isWeb ? WEB_PREVIEW_WIDTH : "100%",
maxWidth: "100%",
aspectRatio: 9 / 16,
overflow: "hidden",
borderRadius: 12,