mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 08:45:41 +08:00
feat: light mode wip (#96)
* 关闭窗口释放UI资源 * windows 还有左键点击事件 * 兼容enhance profile * bug 修复
This commit is contained in:
@@ -35,7 +35,7 @@ const Layout = () => {
|
||||
|
||||
useEffect(() => {
|
||||
window.addEventListener("keydown", (e) => {
|
||||
if (e.key === "Escape") appWindow.hide();
|
||||
if (e.key === "Escape") appWindow.close();
|
||||
});
|
||||
|
||||
listen("verge://refresh-clash-config", async () => {
|
||||
|
||||
Reference in New Issue
Block a user