feat: light mode wip (#96)

* 关闭窗口释放UI资源

* windows 还有左键点击事件

* 兼容enhance profile

* bug 修复
This commit is contained in:
ctaoist
2022-05-25 16:06:39 +08:00
committed by GitHub
parent 1581e9b1cd
commit 5164aec37b
6 changed files with 70 additions and 32 deletions

View File

@@ -30,7 +30,7 @@ const LayoutControl = () => {
<Button
size="small"
sx={{ minWidth, svg: { transform: "scale(1.05)" } }}
onClick={() => appWindow.hide()}
onClick={() => appWindow.close()}
>
<CloseRounded fontSize="small" />
</Button>