chore: t emporarily cancel window closure and change to minimize

This commit is contained in:
huzibaca 2024-10-16 01:53:16 +08:00
parent 7de2474611
commit 64634ef07b
No known key found for this signature in database
GPG Key ID: D4364EE4851DC302

View File

@ -95,7 +95,7 @@ export const LayoutControl = () => {
svg: { transform: "scale(1.05)" },
":hover": { bgcolor: "#ff000090" },
}}
onClick={() => appWindow.close()}
onClick={() => appWindow.hide()}
>
<CloseRounded fontSize="small" />
</Button>