avoid saving window bounds when on player (#964)
This commit is contained in:
@@ -466,9 +466,11 @@ function onFullscreenChanged (e, isFullScreen) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function onWindowBoundsChanged (e, newBounds) {
|
function onWindowBoundsChanged (e, newBounds) {
|
||||||
|
if (state.location.url() !== 'player') {
|
||||||
state.saved.bounds = newBounds
|
state.saved.bounds = newBounds
|
||||||
dispatch('stateSave')
|
dispatch('stateSave')
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function checkDownloadPath () {
|
function checkDownloadPath () {
|
||||||
fs.stat(state.saved.prefs.downloadPath, function (err, stat) {
|
fs.stat(state.saved.prefs.downloadPath, function (err, stat) {
|
||||||
|
|||||||
Reference in New Issue
Block a user