mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-31 19:27:00 -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) {
|
if (this.config.mainWinPos) {
|
||||||
this.config.mainWinPos.width = Number(sizes[0]);
|
this.config.mainWinPos.width = Number(sizes[0]);
|
||||||
this.config.mainWinPos.height = Number(sizes[1]);
|
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