don't resize window when in fullscreen
This commit is contained in:
@@ -350,6 +350,8 @@ function openAirplay (torrent) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function setDimensions (dimensions) {
|
function setDimensions (dimensions) {
|
||||||
|
if (state.isFullScreen) return
|
||||||
|
|
||||||
state.mainWindowBounds = electron.remote.getCurrentWindow().getBounds()
|
state.mainWindowBounds = electron.remote.getCurrentWindow().getBounds()
|
||||||
|
|
||||||
// Limit window size to screen size
|
// Limit window size to screen size
|
||||||
|
|||||||
Reference in New Issue
Block a user