From 22ee7072073c6652f1ccb76d8c0971d68acc8f45 Mon Sep 17 00:00:00 2001 From: Peter Fajdiga Date: Wed, 30 Aug 2023 20:58:00 +0200 Subject: [PATCH] Desktop: correctly set `clientArea` (fixes bug from 0e59f382) --- src/layout/Desktop.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); }