From 553a2f99290cf20bc9e95b3071d1252c15bc5ac4 Mon Sep 17 00:00:00 2001 From: SiriusXT <1160925501@qq.com> Date: Wed, 28 Aug 2024 06:30:25 +0000 Subject: [PATCH] New window from taskbar --- src/services/window.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/window.ts b/src/services/window.ts index 89415f74d..bc652d582 100644 --- a/src/services/window.ts +++ b/src/services/window.ts @@ -68,7 +68,7 @@ async function createMainWindow(app: App) { const spellcheckEnabled = optionService.getOptionBool('spellCheckEnabled'); const { BrowserWindow } = (await import('electron')); // should not be statically imported - + mainWindow = new BrowserWindow({ x: mainWindowState.x, y: mainWindowState.y,