From 64634ef07b27474fdc2c8d037175c65e6f6aab90 Mon Sep 17 00:00:00 2001 From: huzibaca Date: Wed, 16 Oct 2024 01:53:16 +0800 Subject: [PATCH] chore: t emporarily cancel window closure and change to minimize --- src/components/layout/layout-control.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/layout/layout-control.tsx b/src/components/layout/layout-control.tsx index eda6a8c3..bd12afd5 100644 --- a/src/components/layout/layout-control.tsx +++ b/src/components/layout/layout-control.tsx @@ -95,7 +95,7 @@ export const LayoutControl = () => { svg: { transform: "scale(1.05)" }, ":hover": { bgcolor: "#ff000090" }, }} - onClick={() => appWindow.close()} + onClick={() => appWindow.hide()} >