Skip to content

Commit

Permalink
fix: prevent stealing window focus from auth dialog
Browse files Browse the repository at this point in the history
Change-type: patch
  • Loading branch information
leadpogrommer committed Jul 12, 2023
1 parent 2d7a622 commit f716c74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gui/etcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ async function createMainWindow() {
mainWindow.setFullScreen(true);

// Prevent flash of white when starting the application
mainWindow.on('ready-to-show', () => {
mainWindow.once('ready-to-show', () => {
console.timeEnd('ready-to-show');
// Electron sometimes caches the zoomFactor
// making it obnoxious to switch back-and-forth
Expand Down

0 comments on commit f716c74

Please sign in to comment.