Size offscreen window to match main window

This should hopefully help preload videos with appropriate quality.
This commit is contained in:
Max Goodhart
2020-11-11 21:44:43 -08:00
parent 8dde079bd0
commit 531bfa1756

View File

@@ -59,6 +59,8 @@ export default class StreamWindow extends EventEmitter {
this.win = win
const offscreenWin = new BrowserWindow({
width,
height,
show: false,
})
this.offscreenWin = offscreenWin