From b2e2d937b2ae77799279c59390d840dd4ad0c76b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Lu=C3=ADs?= Date: Sun, 14 Apr 2024 22:34:38 -0300 Subject: [PATCH] fix: added a minWidth and minHeight in app window --- src/main/services/window-manager.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/services/window-manager.ts b/src/main/services/window-manager.ts index 4e06ae8f..5e6b11d2 100644 --- a/src/main/services/window-manager.ts +++ b/src/main/services/window-manager.ts @@ -16,6 +16,8 @@ export class WindowManager { this.mainWindow = new BrowserWindow({ width: 1200, height: 720, + minWidth: 1024, + minHeight: 540, titleBarStyle: "hidden", icon: path.join(__dirname, "..", "..", "images", "icon.png"), trafficLightPosition: { x: 16, y: 16 },