mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-16 18:25:17 +02:00
Maximize window on ready-to-show event in main.ts to improve user experience by preventing blank screen on launch.
This commit is contained in:
parent
bc54ef2177
commit
74d4172f54
1 changed files with 1 additions and 0 deletions
|
|
@ -103,6 +103,7 @@ function createWindow() {
|
|||
|
||||
// Show window when content is ready to prevent blank screen
|
||||
win.once("ready-to-show", () => {
|
||||
win.maximize();
|
||||
win.show();
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue