mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-29 02:11:28 -06:00
SDA-3482 - Fix command line argument --window-size (#1301)
This commit is contained in:
parent
bfcaae5e57
commit
e477ee61b4
@ -311,6 +311,11 @@ export class WindowHandler {
|
||||
if (this.config.mainWinPos) {
|
||||
this.config.mainWinPos.width = Number(sizes[0]);
|
||||
this.config.mainWinPos.height = Number(sizes[1]);
|
||||
} else {
|
||||
this.config.mainWinPos = {
|
||||
width: Number(sizes[0]),
|
||||
height: Number(sizes[1]),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user