mirror of
https://github.com/streamwall/streamwall.git
synced 2026-01-25 06:32:49 -05:00
Remove redundant render in offscreen win when positioning
This commit is contained in:
@@ -107,6 +107,8 @@ export default class StreamWindow extends EventEmitter {
|
||||
},
|
||||
positionView: (context, event) => {
|
||||
const { pos, view } = context
|
||||
|
||||
offscreenWin.removeBrowserView(view)
|
||||
win.addBrowserView(view)
|
||||
|
||||
// It's necessary to remove and re-add the overlay view to ensure it's on top.
|
||||
|
||||
Reference in New Issue
Block a user