Only use setContentBounds for player view
Fixes: https://github.com/feross/webtorrent-desktop/issues/786
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user