keep capturing at the panel rate and name the fps setting after what it does

This commit is contained in:
2026-09-21 06:49:37 +03:00
parent aef64fa4e3
commit a953875405
6 changed files with 14 additions and 68 deletions
+2 -2
View File
@@ -212,7 +212,7 @@
try { crop = await api.getOverlayRect() } catch (e) { errMsg = String(e); return }
}
try {
await api.startCapture({ crop, fps })
await api.startCapture({ crop })
phase = "recording"
tick()
void emit("recording-state", { phase: "recording", fps })
@@ -542,7 +542,7 @@
{/if}
<div class="idle-fps">
<span class="switch-label">Capture FPS</span>
<span class="switch-label">Export FPS</span>
<select bind:value={fps}>
{#each [1, 2, 5, 10, 15, 24, 30, 60] as f}<option value={f}>{f}</option>{/each}
</select>