avoid saving window bounds when on player (#964)

This commit is contained in:
Dan Flettre
2016-09-23 14:09:06 -05:00
committed by DC
parent 24fe033e2f
commit 8f827c9aae

View File

@@ -466,8 +466,10 @@ function onFullscreenChanged (e, isFullScreen) {
}
function onWindowBoundsChanged (e, newBounds) {
state.saved.bounds = newBounds
dispatch('stateSave')
if (state.location.url() !== 'player') {
state.saved.bounds = newBounds
dispatch('stateSave')
}
}
function checkDownloadPath () {