Skip to content

Commit

Permalink
SDA-4427: Add fix to the lost focus after screenshot (finos#2043)
Browse files Browse the repository at this point in the history
  • Loading branch information
NguyenTranHoangSym authored Dec 29, 2023
1 parent 8422af2 commit 59cf248
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/screen-snippet-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 59cf248

Please sign in to comment.