Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
fix types
Brendan Allana398d8093710
diff --git a/apps/desktop-solid/src/routes/editor/Editor.tsx b/apps/desktop-solid/src/routes/editor/Editor.tsxindex 616ea9924..7274253e3 100644--- a/apps/desktop-solid/src/routes/editor/Editor.tsx+++ b/apps/desktop-solid/src/routes/editor/Editor.tsx@@ -1187,7 +1187,11 @@ function Dialogs() {return (<Dialog.Root- size={dialog().type === "crop" ? "lg" : "sm"}+ size={(() => {+ const d = dialog();+ if (!d.open) return "sm";+ return d.type === "crop" ? "lg" : "sm";+ })()}open={dialog().open}onOpenChange={(o) => {if (!o) setDialog((d) => ({ ...d, open: false }));