From a5588c75046bdad315508d7f8eb0df71d5b20cf0 Mon Sep 17 00:00:00 2001 From: ransome1 Date: Thu, 2 Nov 2023 18:42:39 +0100 Subject: [PATCH] Fixed maximum stack size error --- src/main/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/main.ts b/src/main/main.ts index 401d8a93..15dc8973 100644 --- a/src/main/main.ts +++ b/src/main/main.ts @@ -40,7 +40,7 @@ const handleMove = () => { const handleUnmaximize = () => { configStorage.set('windowMaximized', false); - handleWindowSizeAndPosition(); + //handleWindowSizeAndPosition(); } const handleMaximize = () => { @@ -70,7 +70,7 @@ const handleWindowSizeAndPosition = () => { mainWindow?.setPosition(x, y); } } -}; +} const createWindow = async() => { mainWindow = new BrowserWindow({