Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
fix window capture occluder
Brendan Allan357bb80004dc
diff --git a/apps/desktop/src/routes/window-capture-occluder.tsx b/apps/desktop/src/routes/window-capture-occluder.tsxindex 8daee1e20..508f5adbb 100644--- a/apps/desktop/src/routes/window-capture-occluder.tsx+++ b/apps/desktop/src/routes/window-capture-occluder.tsx@@ -1,19 +1,16 @@-import { createQuery } from "@tanstack/solid-query";-import { createEffect, Show, Suspense } from "solid-js";+import { Show, Suspense } from "solid-js";import { createCurrentRecordingQuery } from "../utils/queries";export default function () {const currentRecording = createCurrentRecordingQuery();- createEffect(() => console.log(currentRecording.data));-return (<Suspense><Showwhen={- currentRecording.data?.[0] &&- currentRecording.data[0].displaySource.variant === "window" &&- currentRecording.data[0].displaySource.bounds+ currentRecording.data &&+ currentRecording.data.displaySource.variant === "window" &&+ currentRecording.data.displaySource.bounds}>{(bounds) => (