mirror of
https://github.com/got-feedBack/feedBack-desktop.git
synced 2026-07-20 11:51:53 +00:00
Fix fullscreen launch with maximized restore
This commit is contained in:
parent
4f1b64ff73
commit
45a05b80a0
@ -484,7 +484,7 @@ function createWindow(port: number): void {
|
||||
backgroundColor: '#0f172a', // slate-900 to match Slopsmith UI
|
||||
webPreferences: rendererWebPreferences,
|
||||
});
|
||||
if (restored.maximized) mainWindow.maximize();
|
||||
if (restored.maximized && !startFullscreen) mainWindow.maximize();
|
||||
|
||||
// Persist geometry on close. getNormalBounds() so a maximized session
|
||||
// saves the underlying windowed size, restored + re-maximized next launch.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user