Skip to content

Commit

Permalink
Fix dialogs on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitryAstafyev committed Jul 12, 2023
1 parent d8b6687 commit 2f3d35b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions application/holder/src/service/electron/dialogs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ export class Dialogs extends Implementation {
// has been shown, mouse is locked for whole system. With minimum
// timeout (after dialog inited) we should manualy unlock mouse
// and focus to the dialog
if (process.platform !== 'linux') {
return;
}
setTimeout(() => {
this._window.setEnabled(true);
this._window.setIgnoreMouseEvents(false);
Expand Down

0 comments on commit 2f3d35b

Please sign in to comment.