From d00b8df7707c0a4ad94ce7a3488780fe5764ae6c Mon Sep 17 00:00:00 2001 From: Brendan Allan Date: Wed, 21 Jan 2026 22:35:05 +0800 Subject: feat(desktop): properly integrate window controls on windows (#9835) --- packages/app/src/components/titlebar.tsx | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'packages/app') diff --git a/packages/app/src/components/titlebar.tsx b/packages/app/src/components/titlebar.tsx index d0d27e99f..7e50687d5 100644 --- a/packages/app/src/components/titlebar.tsx +++ b/packages/app/src/components/titlebar.tsx @@ -18,6 +18,7 @@ export function Titlebar() { const theme = useTheme() const mac = createMemo(() => platform.platform === "desktop" && platform.os === "macos") + const windows = createMemo(() => platform.platform === "desktop" && platform.os === "windows") const reserve = createMemo( () => platform.platform === "desktop" && (platform.os === "windows" || platform.os === "linux"), ) @@ -75,13 +76,15 @@ export function Titlebar() { } return ( -
+
@@ -116,9 +119,16 @@ export function Titlebar() {
-
+
-
+
+ +
+
-- cgit v1.2.3