Restore window position.
This commit is contained in:
parent
f9f300968d
commit
9e66fd3d68
1 changed files with 2 additions and 0 deletions
|
@ -342,6 +342,8 @@ export class BrowserWindow {
|
||||||
});
|
});
|
||||||
this.options.width = windowState.width;
|
this.options.width = windowState.width;
|
||||||
this.options.height = windowState.height;
|
this.options.height = windowState.height;
|
||||||
|
this.options.x = windowState.x;
|
||||||
|
this.options.y = windowState.y;
|
||||||
|
|
||||||
switch (process.platform) {
|
switch (process.platform) {
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue