Desktop: correctly set clientArea (fixes bug from 0e59f382)

This commit is contained in:
Peter Fajdiga
2023-08-30 20:58:00 +02:00
parent 8d6e4f9bc7
commit 22ee707207

View File

@@ -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();
}