提交 f47974ea 编写于 作者: B Benjamin Pasero

fix it for good

上级 b6237b5c
...@@ -198,7 +198,7 @@ export class CodeWindow implements ICodeWindow { ...@@ -198,7 +198,7 @@ export class CodeWindow implements ICodeWindow {
if (screen.getAllDisplays().length > 1) { if (screen.getAllDisplays().length > 1) {
const [x, y] = this._win.getPosition(); const [x, y] = this._win.getPosition();
if (x !== this.windowState.x || y !== this.windowState.y) { 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) { } catch (err) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册