From f32825a79eb3497d5e0600fb5d05f325a0feb143 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Mon, 7 Mar 2016 18:42:16 -0800 Subject: [PATCH] Don't resize window if maximized (when player is opened) For #3 --- main/ipc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/ipc.js b/main/ipc.js index f0352f22..02d99fbc 100644 --- a/main/ipc.js +++ b/main/ipc.js @@ -49,7 +49,7 @@ function addTorrentFromPaste () { function setBounds (bounds) { debug('setBounds %o', bounds) - if (windows.main && !windows.main.isFullScreen()) { + if (windows.main && !windows.main.isFullScreen() && !windows.main.isMaximized()) { windows.main.setBounds(bounds, true) } }