Merge pull request #1147 from johankwarnmarksymphony/sda-2754-2

fix: sda-2754, always quit red frame, and give the new red frame 300ms
This commit is contained in:
psjostrom
2020-12-14 10:40:22 +01:00
committed by GitHub

View File

@@ -1214,7 +1214,12 @@ export class WindowHandler {
if (source != null) {
logger.info(`window-handler: screen-source-select`, source, id);
this.drawScreenShareIndicatorFrame(source);
this.execCmd(this.screenShareIndicatorFrameUtil, []);
const timeoutValue = 300;
setTimeout(
() => this.drawScreenShareIndicatorFrame(source),
timeoutValue,
);
}
});