Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix window maximization when using splash screen
Avoid eager restore of maximized state in `TheiaElectronWindow.init` when a splash screen is configured (i.e. `preventAutomaticShow` config option is false) Calling `window.maximize()` implicity also makes the window visibile. If `preventAutomaticShow` is true we have to make sure to invoke `restoreMaximizeState` after the main window is ready. Otherwise both the splashscreen and the preload window will be visible at the same time Fixes #14218
- Loading branch information