If screen picker window is closed, close the red frame

This commit is contained in:
Johan Kwarnmark 2020-12-04 16:22:51 +01:00
parent 0dc75d9555
commit 65341a3b62

View File

@ -1194,6 +1194,7 @@ export class WindowHandler {
}
});
this.screenPickerWindow.once('closed', () => {
this.execCmd(this.screenShareIndicatorFrameUtil, []);
this.removeWindow(opts.winKey);
this.screenPickerWindow = null;
});