mirror of
https://github.com/streamwall/streamwall.git
synced 2026-01-24 22:22:50 -05:00
Size offscreen window to match main window
This should hopefully help preload videos with appropriate quality.
This commit is contained in:
@@ -59,6 +59,8 @@ export default class StreamWindow extends EventEmitter {
|
||||
this.win = win
|
||||
|
||||
const offscreenWin = new BrowserWindow({
|
||||
width,
|
||||
height,
|
||||
show: false,
|
||||
})
|
||||
this.offscreenWin = offscreenWin
|
||||
|
||||
Reference in New Issue
Block a user