fix it for good

This commit is contained in:
Benjamin Pasero
2017-11-01 12:13:59 +01:00
parent b6237b5c7b
commit f47974eac0
+1 -1
View File
@@ -198,7 +198,7 @@ export class CodeWindow implements ICodeWindow {
if (screen.getAllDisplays().length > 1) {
const [x, y] = this._win.getPosition();
if (x !== this.windowState.x || y !== this.windowState.y) {
this._win.setPosition(x, y, false);
this._win.setPosition(this.windowState.x, this.windowState.y, false);
}
}
} catch (err) {