From 0f007d2184052974d32010ad6bbfe053b31fe746 Mon Sep 17 00:00:00 2001 From: Johan Kwarnmark Date: Mon, 14 Dec 2020 10:19:01 +0100 Subject: [PATCH] sda-2754, always quit red frame, and give the new red frame 300ms --- src/app/window-handler.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/app/window-handler.ts b/src/app/window-handler.ts index f477e6fa..c1c72a09 100644 --- a/src/app/window-handler.ts +++ b/src/app/window-handler.ts @@ -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, + ); } });