Merge pull request #788 from feross/content-bounds

Only use setContentBounds for player view
This commit is contained in:
Feross Aboukhadijeh
2016-08-22 01:56:14 +02:00
committed by GitHub
2 changed files with 6 additions and 2 deletions

View File

@@ -362,7 +362,7 @@ function setDimensions (dimensions) {
)
ipcRenderer.send('setAspectRatio', aspectRatio)
ipcRenderer.send('setBounds', {x: null, y: null, width, height})
ipcRenderer.send('setBounds', {contentBounds: true, x: null, y: null, width, height})
state.playing.aspectRatio = aspectRatio
}