From d08e5883ca58c74361db378493f331f8b8afa909 Mon Sep 17 00:00:00 2001 From: Oscar Beaumont Date: Fri, 17 Oct 2025 21:43:44 +0800 Subject: [PATCH 1/2] 3 stacked --- apps/desktop/src-tauri/src/windows.rs | 4 ++-- .../routes/(window-chrome)/new-main/TargetMenuGrid.tsx | 6 +++--- .../desktop/src/routes/(window-chrome)/new-main/index.tsx | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/apps/desktop/src-tauri/src/windows.rs b/apps/desktop/src-tauri/src/windows.rs index 5245414184..739821e03d 100644 --- a/apps/desktop/src-tauri/src/windows.rs +++ b/apps/desktop/src-tauri/src/windows.rs @@ -13,8 +13,8 @@ use std::{ sync::{Arc, Mutex, atomic::AtomicU32}, }; use tauri::{ - AppHandle, LogicalPosition, Manager, Monitor, PhysicalPosition, PhysicalSize, WebviewUrl, - WebviewWindow, WebviewWindowBuilder, Wry, + AppHandle, LogicalPosition, LogicalSize, Manager, Monitor, PhysicalPosition, PhysicalSize, + WebviewUrl, WebviewWindow, WebviewWindowBuilder, Wry, }; use tauri_specta::Event; use tokio::sync::RwLock; diff --git a/apps/desktop/src/routes/(window-chrome)/new-main/TargetMenuGrid.tsx b/apps/desktop/src/routes/(window-chrome)/new-main/TargetMenuGrid.tsx index abb75d55f2..0ca80348ad 100644 --- a/apps/desktop/src/routes/(window-chrome)/new-main/TargetMenuGrid.tsx +++ b/apps/desktop/src/routes/(window-chrome)/new-main/TargetMenuGrid.tsx @@ -103,7 +103,7 @@ export default function TargetMenuGrid(props: TargetMenuGridProps) {
{ @@ -112,7 +112,7 @@ export default function TargetMenuGrid(props: TargetMenuGridProps) { > -
+

{props.errorMessage}

@@ -122,7 +122,7 @@ export default function TargetMenuGrid(props: TargetMenuGridProps) { -
+
{props.emptyMessage ?? defaultEmptyMessage()}
diff --git a/apps/desktop/src/routes/(window-chrome)/new-main/index.tsx b/apps/desktop/src/routes/(window-chrome)/new-main/index.tsx index aeed303171..f163df2153 100644 --- a/apps/desktop/src/routes/(window-chrome)/new-main/index.tsx +++ b/apps/desktop/src/routes/(window-chrome)/new-main/index.tsx @@ -74,8 +74,8 @@ import TargetTypeButton from "./TargetTypeButton"; function getWindowSize() { return { - width: 270, - height: 256, + width: 320, + height: 300, }; } @@ -195,8 +195,8 @@ function TargetMenuPanel(props: TargetMenuPanelProps & SharedTargetMenuProps) {
props.onBack()} - class="flex gap-1 items-center rounded-md px-1.5 text-xs - text-gray-11 transition-opacity hover:opacity-70 hover:text-gray-12 + class="flex gap-1 items-center rounded-md px-1.5 text-xs + text-gray-11 transition-opacity hover:opacity-70 hover:text-gray-12 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-9 focus-visible:ring-offset-2 focus-visible:ring-offset-gray-1" > From 03ccaeec349e03c3b88d07a25e8542f5c0c9c0f5 Mon Sep 17 00:00:00 2001 From: Oscar Beaumont Date: Fri, 17 Oct 2025 22:00:13 +0800 Subject: [PATCH 2/2] prototype --- .../src/routes/(window-chrome)/new-main/CameraSelect.tsx | 2 +- .../routes/(window-chrome)/new-main/TargetTypeButton.tsx | 2 +- apps/desktop/src/routes/(window-chrome)/new-main/index.tsx | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/desktop/src/routes/(window-chrome)/new-main/CameraSelect.tsx b/apps/desktop/src/routes/(window-chrome)/new-main/CameraSelect.tsx index 83a28b7fa8..072464bde5 100644 --- a/apps/desktop/src/routes/(window-chrome)/new-main/CameraSelect.tsx +++ b/apps/desktop/src/routes/(window-chrome)/new-main/CameraSelect.tsx @@ -38,7 +38,7 @@ export default function CameraSelect(props: {