Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
fix(desktop): unify main window size to 395px
Richie McIlroyaeae831ca84f
diff --git a/apps/desktop/src/routes/(window-chrome)/new-main/index.tsx b/apps/desktop/src/routes/(window-chrome)/new-main/index.tsxindex 0e2d3d6a7..1ef0a048e 100644--- a/apps/desktop/src/routes/(window-chrome)/new-main/index.tsx+++ b/apps/desktop/src/routes/(window-chrome)/new-main/index.tsx@@ -14,7 +14,6 @@ import {} from "@tauri-apps/api/webviewWindow";import { getCurrentWindow, LogicalSize } from "@tauri-apps/api/window";import * as dialog from "@tauri-apps/plugin-dialog";-import { type as ostype } from "@tauri-apps/plugin-os";import * as shell from "@tauri-apps/plugin-shell";import * as updater from "@tauri-apps/plugin-updater";import { cx } from "cva";@@ -107,10 +106,7 @@ import TargetMenuGrid from "./TargetMenuGrid";import TargetTypeButton from "./TargetTypeButton";import useRequestPermission from "./useRequestPermission";-const WINDOW_SIZE = {- width: 330,- height: ostype() === "windows" ? 430 : 395,-} as const;+const WINDOW_SIZE = { width: 330, height: 395 } as const;const CAPTURE_LIST_STALE_TIME = 5_000;const CAPTURE_LIST_GC_TIME = 60_000;const CAPTURE_THUMBNAIL_STALE_TIME = 10_000;