mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
AVT-914 [Spectron][Windows] Add test "Keep size and position of the windows in previous session" (#430)
This commit is contained in:
committed by
Vishwas Shashidhar
parent
f0de24ccf6
commit
7791d5b39a
@@ -215,7 +215,7 @@ function doCreateMainWindow(initialUrl, initialBounds, isCustomTitleBar) {
|
||||
mainWindow.webContents.send('window-leave-full-screen');
|
||||
});
|
||||
|
||||
if (initialBounds && !isNodeEnv) {
|
||||
if (initialBounds) {
|
||||
// maximizes the application if previously maximized
|
||||
if (initialBounds.isMaximized) {
|
||||
mainWindow.maximize();
|
||||
|
||||
Reference in New Issue
Block a user