Merge pull request #4075 from leadpogrommer/fix_focus_stealing

Prevent stealing window focus from auth dialog
This commit is contained in:
dfunckt 2023-07-13 17:30:44 +03:00 committed by GitHub
commit 589ce9c28e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -184,7 +184,7 @@ async function createMainWindow() {
mainWindow.setFullScreen(true); mainWindow.setFullScreen(true);
// Prevent flash of white when starting the application // Prevent flash of white when starting the application
mainWindow.on('ready-to-show', () => { mainWindow.once('ready-to-show', () => {
console.timeEnd('ready-to-show'); console.timeEnd('ready-to-show');
// Electron sometimes caches the zoomFactor // Electron sometimes caches the zoomFactor
// making it obnoxious to switch back-and-forth // making it obnoxious to switch back-and-forth