don't resize window when in fullscreen

This commit is contained in:
Feross Aboukhadijeh
2016-03-05 18:14:05 -08:00
parent 4f1dfc8c1e
commit 44b8302b6c

View File

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