diff --git a/src/layout/Desktop.ts b/src/layout/Desktop.ts index 3ef1af4..4c4c62d 100644 --- a/src/layout/Desktop.ts +++ b/src/layout/Desktop.ts @@ -22,7 +22,8 @@ class Desktop { if (newClientArea === this.clientArea) { return; } - this.tilingArea = Desktop.getTilingArea(this.clientArea, this.config); + this.clientArea = newClientArea; + this.tilingArea = Desktop.getTilingArea(newClientArea, this.config); this.grid.onScreenSizeChanged(); this.autoAdjustScroll(); }