From d5d4534ec274e4985aa6ee2d78ede62bfbf59767 Mon Sep 17 00:00:00 2001 From: Heejin Lee Date: Fri, 2 Sep 2016 22:14:37 +0900 Subject: [PATCH] Fix flickering on minimize trick --- app/main/server/app/ui/main-window.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/server/app/ui/main-window.js b/app/main/server/app/ui/main-window.js index 1657cb54..f63ca396 100644 --- a/app/main/server/app/ui/main-window.js +++ b/app/main/server/app/ui/main-window.js @@ -85,7 +85,7 @@ module.exports = class MainWindow { hide(dontRestoreFocus) { if (this.browserWindow === null) return; - this.browserWindow.minimize(); + this.browserWindow.setPosition(0, -1000); this.browserWindow.hide(); if (!dontRestoreFocus)