From 62222e67fb99f37ec19723f7750a1783863e2505 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Thu, 20 Sep 2018 11:46:24 +0200 Subject: [PATCH] lint --- app/lib/window.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/lib/window.ts b/app/lib/window.ts index bdb7d150..c0a3f1c6 100644 --- a/app/lib/window.ts +++ b/app/lib/window.ts @@ -138,13 +138,15 @@ export class Window { }) this.window.on('resize', () => { - if (!this.window.isMaximized()) + if (!this.window.isMaximized()) { this.windowBounds = this.window.getBounds() + } }) this.window.on('move', () => { - if (!this.window.isMaximized()) + if (!this.window.isMaximized()) { this.windowBounds = this.window.getBounds() + } }) ipcMain.on('window-focus', () => {