From 8cb9b60afe21c2d0095f40b96cff56c24d344698 Mon Sep 17 00:00:00 2001 From: leejinho Date: Wed, 5 Feb 2020 11:12:52 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9C=88=EB=8F=84=EC=9A=B0=20=EA=B8=B0?= =?UTF-8?q?=EB=B3=B8=20=EC=82=AC=EC=9D=B4=EC=A6=88=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ucap-webmessenger-electron/src/app/AppWindow.ts | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/electron-projects/ucap-webmessenger-electron/src/app/AppWindow.ts b/electron-projects/ucap-webmessenger-electron/src/app/AppWindow.ts index f5502769..6db3f7a6 100644 --- a/electron-projects/ucap-webmessenger-electron/src/app/AppWindow.ts +++ b/electron-projects/ucap-webmessenger-electron/src/app/AppWindow.ts @@ -23,13 +23,16 @@ export class AppWindow { // tslint:disable-next-line: variable-name private _rendererReadyTime: number | null = null; - private minWidth = 1160; - private minHeight = 800; + private minWidth = 700; + private minHeight = 600; + + private defaultWidth = 1160; + private defaultHeight = 800; public constructor(private appIconPath: string) { const savedWindowState = windowStateKeeper({ - defaultWidth: this.minWidth, - defaultHeight: this.minHeight + defaultWidth: this.defaultWidth, + defaultHeight: this.defaultHeight }); const windowOptions: Electron.BrowserWindowConstructorOptions = {