sda-2754, always quit red frame, and give the new red frame 300ms

This commit is contained in:
Johan Kwarnmark 2020-12-14 10:19:01 +01:00
parent 455efe350f
commit 0f007d2184

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,
);
}
});