mirror of
https://github.com/streamwall/streamwall.git
synced 2026-04-03 20:32:08 -04: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) => {
|
positionView: (context, event) => {
|
||||||
const { pos, view } = context
|
const { pos, view } = context
|
||||||
|
|
||||||
|
offscreenWin.removeBrowserView(view)
|
||||||
win.addBrowserView(view)
|
win.addBrowserView(view)
|
||||||
|
|
||||||
// It's necessary to remove and re-add the overlay view to ensure it's on top.
|
// It's necessary to remove and re-add the overlay view to ensure it's on top.
|
||||||
|
|||||||
Reference in New Issue
Block a user