diff --git a/src/services/window.ts b/src/services/window.ts index a575d27d6..70c178612 100644 --- a/src/services/window.ts +++ b/src/services/window.ts @@ -156,6 +156,8 @@ async function createMainWindow(app: App) { y: mainWindowState.y, width: mainWindowState.width, height: mainWindowState.height, + minWidth: 500, + minHeight: 400, title: "TriliumNext Notes", webPreferences: { nodeIntegration: true, @@ -185,7 +187,7 @@ async function createMainWindow(app: App) { if (lastFocusedWindow.isMinimized()) { lastFocusedWindow.restore(); } - lastFocusedWindow.show(); + lastFocusedWindow.show(); lastFocusedWindow.focus(); } });