move isFullScreen check to ipc.js

This commit is contained in:
Feross Aboukhadijeh
2016-03-05 18:28:54 -08:00
parent 44b8302b6c
commit 79c2295775
2 changed files with 1 additions and 3 deletions

View File

@@ -350,8 +350,6 @@ function openAirplay (torrent) {
}
function setDimensions (dimensions) {
if (state.isFullScreen) return
state.mainWindowBounds = electron.remote.getCurrentWindow().getBounds()
// Limit window size to screen size