SDA-4427: Add fix to the lost focus after screenshot (#2043)

This commit is contained in:
NguyenTranHoangSym
2023-12-29 16:14:36 +07:00
committed by GitHub
parent 8422af2faa
commit 59cf248c80

View File

@@ -355,6 +355,7 @@ class ScreenSnippet {
);
webContents.send('screen-snippet-data', payload);
winStore.restoreWindows(hideOnCapture);
webContents.focus();
await this.verifyAndUpdateAlwaysOnTop();
} catch (error) {
await this.verifyAndUpdateAlwaysOnTop();