mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-19 17:26:34 +00:00
fix: prevent stealing window focus from auth dialog
Change-type: patch
This commit is contained in:
parent
2d7a6220cd
commit
f716c74ef7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user