diff options
Diffstat (limited to 'gui')
| -rw-r--r-- | gui/src/main/window-controller.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gui/src/main/window-controller.ts b/gui/src/main/window-controller.ts index dbe4a8e983..c03a4e9ab3 100644 --- a/gui/src/main/window-controller.ts +++ b/gui/src/main/window-controller.ts @@ -196,8 +196,9 @@ export default class WindowController { public updatePosition() { if (this.window) { - const { x, y } = this.windowPositioning.getPosition(this.window); - this.window.setPosition(x, y, false); + const position = this.windowPositioning.getPosition(this.window); + const size = WindowController.getContentSize(this.delegate.isUnpinnedWindow()); + this.window.setBounds({ ...position, ...size }, false); } this.notifyUpdateWindowShape(); |
