Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
perf(desktop): skip pending legacy camera renders
Richie McIlroy1239c8940693
diff --git a/apps/desktop/src/routes/camera.tsx b/apps/desktop/src/routes/camera.tsxindex 18c063c46..4678a688c 100644--- a/apps/desktop/src/routes/camera.tsx+++ b/apps/desktop/src/routes/camera.tsx@@ -798,6 +798,7 @@ function LegacyCameraPreviewPage(props: { disconnected: Accessor<boolean> }) {if (!isWindowVisible()) return;lastFrameTime = Date.now();+ if (pendingRender) return;const buffer = event.data as ArrayBuffer;const clamped = new Uint8ClampedArray(buffer);