mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-19 18:35:18 +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
|
// Show window when content is ready to prevent blank screen
|
||||||
win.once("ready-to-show", () => {
|
win.once("ready-to-show", () => {
|
||||||
|
win.maximize();
|
||||||
win.show();
|
win.show();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue