Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
fix(desktop): hide in-progress window before awaiting stop
Richie McIlroy97f0c230ea77
diff --git a/apps/desktop/src/routes/in-progress-recording.tsx b/apps/desktop/src/routes/in-progress-recording.tsxindex af7589b43..396850373 100644--- a/apps/desktop/src/routes/in-progress-recording.tsx+++ b/apps/desktop/src/routes/in-progress-recording.tsx@@ -412,9 +412,9 @@ function InProgressRecordingInner() {const stopRecording = createMutation(() => ({mutationFn: async () => {setStopRequested(true);+ await commands.stopRecording();setState({ variant: "stopped" });void getCurrentWindow().hide();- await commands.stopRecording();},onError: () => {setStopRequested(false);