mirror of
https://github.com/got-feedBack/feedBack-desktop.git
synced 2026-08-11 03:09:56 +00:00
Fix fullscreen launch with maximized restore
This commit is contained in:
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user