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) {
|
||||
if (state.location.url() !== 'player') {
|
||||
state.saved.bounds = newBounds
|
||||
dispatch('stateSave')
|
||||
}
|
||||
}
|
||||
|
||||
function checkDownloadPath () {
|
||||
fs.stat(state.saved.prefs.downloadPath, function (err, stat) {
|
||||
|
||||
Reference in New Issue
Block a user