Skip to content

Commit

Permalink
Fixed maximum stack size error
Browse files Browse the repository at this point in the history
  • Loading branch information
ransome1 committed Nov 2, 2023
1 parent a6a1b23 commit a5588c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const handleMove = () => {

const handleUnmaximize = () => {
configStorage.set('windowMaximized', false);
handleWindowSizeAndPosition();
//handleWindowSizeAndPosition();
}

const handleMaximize = () => {
Expand Down Expand Up @@ -70,7 +70,7 @@ const handleWindowSizeAndPosition = () => {
mainWindow?.setPosition(x, y);
}
}
};
}

const createWindow = async() => {
mainWindow = new BrowserWindow({
Expand Down

0 comments on commit a5588c7

Please sign in to comment.