move isFullScreen check to ipc.js
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user